Re:_The_installation_of_“Stable_Diffusion_web_UI ”_natively_on_FreeBSD_fails_because_can’t_install_torch_ and_torchvision
- Reply: Gleb Popov : "Re:_The_installation_of_“Stable_Diffusion_web_UI ”_natively_on_FreeBSD_fails_because_can’t_install_torch_ and_torchvision"
- In reply to: Tomek CEDRO : "Re:_The_installation_of_“Stable_Diffusion_web_UI ”_natively_on_FreeBSD_fails_because_can’t_install_torch_ and_torchvision"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 19 Nov 2022 21:08:10 UTC
I tried to do something like this : (venv) [marietto@marietto ~/Desktop/Files/stable-diffusion-webui]$ python3 -m pip install pytorch Collecting pytorch Downloading pytorch-1.0.2.tar.gz (689 bytes) Preparing metadata (setup.py) ... done Installing collected packages: pytorch DEPRECATION: pytorch is being installed using the legacy 'setup.py install' method, because it doe s not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this b ehaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be fo und at https://github.com/pypa/pip/issues/8559 Running setup.py install for pytorch ... error error: subprocess-exited-with-error × Running setup.py install for pytorch did not run successfully. │ exit code: 1 ╰─> [6 lines of output] Traceback (most recent call last): File "<string>", line 2, in <module> File "<pip-setuptools-caller>", line 34, in <module> File "/tmp/pip-install-yfgsmj5x/pytorch_628b1eae21ac41e48637a8e3262676de/setup.py", line 11, in <module> raise Exception(message) Exception: You tried to install "pytorch". The package named for PyTorch is "torch" [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure × Encountered error while trying to install package. ╰─> pytorch note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. Il giorno sab 19 nov 2022 alle ore 18:49 Tomek CEDRO <tomek@cedro.info> ha scritto: > On Sat, Nov 19, 2022 at 6:06 PM Mario Marietto wrote: > > Thanks. Yours seem to be very detailed instructions. Unfortunately I'm > not so experienced to understand what to do. Thanks anyway for your > kindness. > > No worries we all learn all the time.. just take some time and it will > eventually work :-) > > You may want to clone the PYTORCH repo and try to build on FreeBSD: > > https://github.com/pytorch/pytorch > > This is very popular AI framework, but I did not use it yet, so I have > no experience sorry.. maybe someone on the list would have some > experience in PYTORCH on FreeBSD and/or would be interested in > creating PyTORCH and PyTORCHVISION ports? > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > -- Mario.