Skip to content

Install fails inside venv Linux environment. #75

Description

@airborne-commando
*** Error running install.py for extension /home/nicholas/Desktop/SSD/AI/stable-diffusion-webui/extensions/sd-webui-deoldify.
*** Command: "/home/nicholas/Desktop/SSD/AI/stable-diffusion-webui/venv/bin/python3.10" "/home/nicholas/Desktop/SSD/AI/stable-diffusion-webui/extensions/sd-webui-deoldify/install.py"
*** Error code: 1
*** stdout: All models for DeOldify are already downloaded.
*** Installing fastai==1.0.60 for DeOldify extension.
*** Installing fastai
*** 
*** stderr: /home/nicholas/Desktop/SSD/AI/stable-diffusion-webui/extensions/sd-webui-deoldify/install.py:6: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
***   import pkg_resources
*** Traceback (most recent call last):
***   File "/home/nicholas/Desktop/SSD/AI/stable-diffusion-webui/extensions/sd-webui-deoldify/install.py", line 89, in <module>
***     check_and_install_dependencies()
***   File "/home/nicholas/Desktop/SSD/AI/stable-diffusion-webui/extensions/sd-webui-deoldify/install.py", line 71, in check_and_install_dependencies
***     launch.run_pip(f"install {dep}", package_name)
***   File "/home/nicholas/Desktop/SSD/AI/stable-diffusion-webui/modules/launch_utils.py", line 144, in run_pip
***     return run(f'"{python}" -m pip {command} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}", live=live)
***   File "/home/nicholas/Desktop/SSD/AI/stable-diffusion-webui/modules/launch_utils.py", line 116, in run
***     raise RuntimeError("\n".join(error_bits))
*** RuntimeError: Couldn't install fastai.
*** Command: "/home/nicholas/Desktop/SSD/AI/stable-diffusion-webui/venv/bin/python3.10" -m pip install fastai==1.0.60 --prefer-binary
*** Error code: 1
*** stdout: Collecting fastai==1.0.60
***   Using cached fastai-1.0.60-py3-none-any.whl.metadata (14 kB)
*** Collecting bottleneck (from fastai==1.0.60)
***   Using cached Bottleneck-1.4.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.7 kB)
*** Requirement already satisfied: fastprogress>=0.2.1 in ./venv/lib/python3.10/site-packages (from fastai==1.0.60) (1.0.3)
*** Collecting beautifulsoup4 (from fastai==1.0.60)
***   Using cached beautifulsoup4-4.13.4-py3-none-any.whl.metadata (3.8 kB)
*** Requirement already satisfied: matplotlib in ./venv/lib/python3.10/site-packages (from fastai==1.0.60) (3.10.1)
*** Collecting numexpr (from fastai==1.0.60)
***   Using cached numexpr-2.10.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (8.1 kB)
*** Requirement already satisfied: numpy>=1.15 in ./venv/lib/python3.10/site-packages (from fastai==1.0.60) (1.26.2)
*** Collecting nvidia-ml-py3 (from fastai==1.0.60)
***   Using cached nvidia-ml-py3-7.352.0.tar.gz (19 kB)
***   Preparing metadata (setup.py): started
***   Preparing metadata (setup.py): finished with status 'done'
*** Requirement already satisfied: pandas in ./venv/lib/python3.10/site-packages (from fastai==1.0.60) (2.2.3)
*** Requirement already satisfied: packaging in ./venv/lib/python3.10/site-packages (from fastai==1.0.60) (24.2)
*** Requirement already satisfied: Pillow in ./venv/lib/python3.10/site-packages (from fastai==1.0.60) (9.5.0)
*** Requirement already satisfied: pyyaml in ./venv/lib/python3.10/site-packages (from fastai==1.0.60) (6.0.2)
*** Requirement already satisfied: requests in ./venv/lib/python3.10/site-packages (from fastai==1.0.60) (2.32.3)
*** Requirement already satisfied: scipy in ./venv/lib/python3.10/site-packages (from fastai==1.0.60) (1.15.2)
*** Requirement already satisfied: torch>=1.0.0 in ./venv/lib/python3.10/site-packages (from fastai==1.0.60) (2.1.2+cu121)
*** Collecting spacy>=2.0.18 (from fastai==1.0.60)
***   Using cached spacy-3.8.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (27 kB)
*** Requirement already satisfied: torchvision in ./venv/lib/python3.10/site-packages (from fastai==1.0.60) (0.16.2+cu121)
*** Collecting spacy-legacy<3.1.0,>=3.0.11 (from spacy>=2.0.18->fastai==1.0.60)
***   Using cached spacy_legacy-3.0.12-py2.py3-none-any.whl.metadata (2.8 kB)
*** Collecting spacy-loggers<2.0.0,>=1.0.0 (from spacy>=2.0.18->fastai==1.0.60)
***   Using cached spacy_loggers-1.0.5-py3-none-any.whl.metadata (23 kB)
*** Collecting murmurhash<1.1.0,>=0.28.0 (from spacy>=2.0.18->fastai==1.0.60)
***   Using cached murmurhash-1.0.12-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
*** Collecting cymem<2.1.0,>=2.0.2 (from spacy>=2.0.18->fastai==1.0.60)
***   Using cached cymem-2.0.11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (8.5 kB)
*** Collecting preshed<3.1.0,>=3.0.2 (from spacy>=2.0.18->fastai==1.0.60)
***   Using cached preshed-3.0.9-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.2 kB)
*** Collecting thinc<8.4.0,>=8.3.4 (from spacy>=2.0.18->fastai==1.0.60)
***   Using cached thinc-8.3.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (15 kB)
*** Collecting wasabi<1.2.0,>=0.9.1 (from spacy>=2.0.18->fastai==1.0.60)
***   Using cached wasabi-1.1.3-py3-none-any.whl.metadata (28 kB)
*** Collecting srsly<3.0.0,>=2.4.3 (from spacy>=2.0.18->fastai==1.0.60)
***   Using cached srsly-2.5.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (19 kB)
*** Collecting catalogue<2.1.0,>=2.0.6 (from spacy>=2.0.18->fastai==1.0.60)
***   Using cached catalogue-2.0.10-py3-none-any.whl.metadata (14 kB)
*** Collecting weasel<0.5.0,>=0.1.0 (from spacy>=2.0.18->fastai==1.0.60)
***   Using cached weasel-0.4.1-py3-none-any.whl.metadata (4.6 kB)
*** Collecting typer<1.0.0,>=0.3.0 (from spacy>=2.0.18->fastai==1.0.60)
***   Using cached typer-0.15.2-py3-none-any.whl.metadata (15 kB)
*** Requirement already satisfied: tqdm<5.0.0,>=4.38.0 in ./venv/lib/python3.10/site-packages (from spacy>=2.0.18->fastai==1.0.60) (4.67.1)
*** Requirement already satisfied: pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4 in ./venv/lib/python3.10/site-packages (from spacy>=2.0.18->fastai==1.0.60) (1.10.17)
*** Requirement already satisfied: jinja2 in ./venv/lib/python3.10/site-packages (from spacy>=2.0.18->fastai==1.0.60) (3.1.6)
*** Requirement already satisfied: setuptools in ./venv/lib/python3.10/site-packages (from spacy>=2.0.18->fastai==1.0.60) (69.5.1)
*** Collecting langcodes<4.0.0,>=3.2.0 (from spacy>=2.0.18->fastai==1.0.60)
***   Using cached langcodes-3.5.0-py3-none-any.whl.metadata (29 kB)
*** Requirement already satisfied: charset-normalizer<4,>=2 in ./venv/lib/python3.10/site-packages (from requests->fastai==1.0.60) (3.4.1)
*** Requirement already satisfied: idna<4,>=2.5 in ./venv/lib/python3.10/site-packages (from requests->fastai==1.0.60) (3.10)
*** Requirement already satisfied: urllib3<3,>=1.21.1 in ./venv/lib/python3.10/site-packages (from requests->fastai==1.0.60) (2.3.0)
*** Requirement already satisfied: certifi>=2017.4.17 in ./venv/lib/python3.10/site-packages (from requests->fastai==1.0.60) (2025.1.31)
*** Requirement already satisfied: filelock in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->fastai==1.0.60) (3.18.0)
*** Requirement already satisfied: typing-extensions in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->fastai==1.0.60) (4.13.1)
*** Requirement already satisfied: sympy in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->fastai==1.0.60) (1.13.3)
*** Requirement already satisfied: networkx in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->fastai==1.0.60) (3.4.2)
*** Requirement already satisfied: fsspec in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->fastai==1.0.60) (2025.3.2)
*** Requirement already satisfied: triton==2.1.0 in ./venv/lib/python3.10/site-packages (from torch>=1.0.0->fastai==1.0.60) (2.1.0)
*** Collecting soupsieve>1.2 (from beautifulsoup4->fastai==1.0.60)
***   Using cached soupsieve-2.6-py3-none-any.whl.metadata (4.6 kB)
*** Requirement already satisfied: contourpy>=1.0.1 in ./venv/lib/python3.10/site-packages (from matplotlib->fastai==1.0.60) (1.3.1)
*** Requirement already satisfied: cycler>=0.10 in ./venv/lib/python3.10/site-packages (from matplotlib->fastai==1.0.60) (0.12.1)
*** Requirement already satisfied: fonttools>=4.22.0 in ./venv/lib/python3.10/site-packages (from matplotlib->fastai==1.0.60) (4.57.0)
*** Requirement already satisfied: kiwisolver>=1.3.1 in ./venv/lib/python3.10/site-packages (from matplotlib->fastai==1.0.60) (1.4.8)
*** Requirement already satisfied: pyparsing>=2.3.1 in ./venv/lib/python3.10/site-packages (from matplotlib->fastai==1.0.60) (3.2.3)
*** Requirement already satisfied: python-dateutil>=2.7 in ./venv/lib/python3.10/site-packages (from matplotlib->fastai==1.0.60) (2.9.0.post0)
*** Requirement already satisfied: pytz>=2020.1 in ./venv/lib/python3.10/site-packages (from pandas->fastai==1.0.60) (2025.2)
*** Requirement already satisfied: tzdata>=2022.7 in ./venv/lib/python3.10/site-packages (from pandas->fastai==1.0.60) (2025.2)
*** Collecting language-data>=1.2 (from langcodes<4.0.0,>=3.2.0->spacy>=2.0.18->fastai==1.0.60)
***   Using cached language_data-1.3.0-py3-none-any.whl.metadata (4.3 kB)
*** Requirement already satisfied: six>=1.5 in ./venv/lib/python3.10/site-packages (from python-dateutil>=2.7->matplotlib->fastai==1.0.60) (1.17.0)
*** Collecting blis<1.4.0,>=1.3.0 (from thinc<8.4.0,>=8.3.4->spacy>=2.0.18->fastai==1.0.60)
***   Using cached blis-1.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.4 kB)
*** Collecting confection<1.0.0,>=0.0.1 (from thinc<8.4.0,>=8.3.4->spacy>=2.0.18->fastai==1.0.60)
***   Using cached confection-0.1.5-py3-none-any.whl.metadata (19 kB)
*** Collecting numpy>=1.15 (from fastai==1.0.60)
***   Using cached numpy-2.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (62 kB)
*** Collecting pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4 (from spacy>=2.0.18->fastai==1.0.60)
***   Using cached pydantic-2.11.3-py3-none-any.whl.metadata (65 kB)
*** Collecting annotated-types>=0.6.0 (from pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4->spacy>=2.0.18->fastai==1.0.60)
***   Using cached annotated_types-0.7.0-py3-none-any.whl.metadata (15 kB)
*** Collecting pydantic-core==2.33.1 (from pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4->spacy>=2.0.18->fastai==1.0.60)
***   Using cached pydantic_core-2.33.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.8 kB)
*** Collecting typing-inspection>=0.4.0 (from pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4->spacy>=2.0.18->fastai==1.0.60)
***   Using cached typing_inspection-0.4.0-py3-none-any.whl.metadata (2.6 kB)
*** Requirement already satisfied: click>=8.0.0 in ./venv/lib/python3.10/site-packages (from typer<1.0.0,>=0.3.0->spacy>=2.0.18->fastai==1.0.60) (8.1.8)
*** Collecting shellingham>=1.3.0 (from typer<1.0.0,>=0.3.0->spacy>=2.0.18->fastai==1.0.60)
***   Using cached shellingham-1.5.4-py2.py3-none-any.whl.metadata (3.5 kB)
*** Requirement already satisfied: rich>=10.11.0 in ./venv/lib/python3.10/site-packages (from typer<1.0.0,>=0.3.0->spacy>=2.0.18->fastai==1.0.60) (14.0.0)
*** Collecting cloudpathlib<1.0.0,>=0.7.0 (from weasel<0.5.0,>=0.1.0->spacy>=2.0.18->fastai==1.0.60)
***   Using cached cloudpathlib-0.21.0-py3-none-any.whl.metadata (14 kB)
*** Collecting smart-open<8.0.0,>=5.2.1 (from weasel<0.5.0,>=0.1.0->spacy>=2.0.18->fastai==1.0.60)
***   Using cached smart_open-7.1.0-py3-none-any.whl.metadata (24 kB)
*** Requirement already satisfied: MarkupSafe>=2.0 in ./venv/lib/python3.10/site-packages (from jinja2->spacy>=2.0.18->fastai==1.0.60) (2.1.5)
*** Requirement already satisfied: mpmath<1.4,>=1.1.0 in ./venv/lib/python3.10/site-packages (from sympy->torch>=1.0.0->fastai==1.0.60) (1.3.0)
*** Collecting marisa-trie>=1.1.0 (from language-data>=1.2->langcodes<4.0.0,>=3.2.0->spacy>=2.0.18->fastai==1.0.60)
***   Using cached marisa_trie-1.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (9.0 kB)
*** Requirement already satisfied: markdown-it-py>=2.2.0 in ./venv/lib/python3.10/site-packages (from rich>=10.11.0->typer<1.0.0,>=0.3.0->spacy>=2.0.18->fastai==1.0.60) (3.0.0)
*** Requirement already satisfied: pygments<3.0.0,>=2.13.0 in ./venv/lib/python3.10/site-packages (from rich>=10.11.0->typer<1.0.0,>=0.3.0->spacy>=2.0.18->fastai==1.0.60) (2.19.1)
*** Requirement already satisfied: wrapt in ./venv/lib/python3.10/site-packages (from smart-open<8.0.0,>=5.2.1->weasel<0.5.0,>=0.1.0->spacy>=2.0.18->fastai==1.0.60) (1.17.2)
*** Requirement already satisfied: mdurl~=0.1 in ./venv/lib/python3.10/site-packages (from markdown-it-py>=2.2.0->rich>=10.11.0->typer<1.0.0,>=0.3.0->spacy>=2.0.18->fastai==1.0.60) (0.1.2)
*** Using cached fastai-1.0.60-py3-none-any.whl (237 kB)
*** Using cached spacy-3.8.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (29.2 MB)
*** Using cached beautifulsoup4-4.13.4-py3-none-any.whl (187 kB)
*** Using cached Bottleneck-1.4.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (356 kB)
*** Using cached numexpr-2.10.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (397 kB)
*** Using cached catalogue-2.0.10-py3-none-any.whl (17 kB)
*** Using cached cymem-2.0.11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (204 kB)
*** Using cached langcodes-3.5.0-py3-none-any.whl (182 kB)
*** Using cached murmurhash-1.0.12-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (124 kB)
*** Using cached preshed-3.0.9-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (156 kB)
*** Using cached soupsieve-2.6-py3-none-any.whl (36 kB)
*** Using cached spacy_legacy-3.0.12-py2.py3-none-any.whl (29 kB)
*** Using cached spacy_loggers-1.0.5-py3-none-any.whl (22 kB)
*** Using cached srsly-2.5.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
*** Using cached thinc-8.3.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB)
*** Using cached numpy-2.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.4 MB)
*** Using cached pydantic-2.11.3-py3-none-any.whl (443 kB)
*** Using cached pydantic_core-2.33.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB)
*** Using cached typer-0.15.2-py3-none-any.whl (45 kB)
*** Using cached wasabi-1.1.3-py3-none-any.whl (27 kB)
*** Using cached weasel-0.4.1-py3-none-any.whl (50 kB)
*** Using cached annotated_types-0.7.0-py3-none-any.whl (13 kB)
*** Using cached blis-1.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.5 MB)
*** Using cached cloudpathlib-0.21.0-py3-none-any.whl (52 kB)
*** Using cached confection-0.1.5-py3-none-any.whl (35 kB)
*** Using cached language_data-1.3.0-py3-none-any.whl (5.4 MB)
*** Using cached shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB)
*** Using cached smart_open-7.1.0-py3-none-any.whl (61 kB)
*** Using cached typing_inspection-0.4.0-py3-none-any.whl (14 kB)
*** Using cached marisa_trie-1.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB)
*** Building wheels for collected packages: nvidia-ml-py3
***   Building wheel for nvidia-ml-py3 (setup.py): started
***   Building wheel for nvidia-ml-py3 (setup.py): finished with status 'error'
***   Running setup.py clean for nvidia-ml-py3
*** Failed to build nvidia-ml-py3
*** 
*** stderr:   error: subprocess-exited-with-error
***   
***   × python setup.py bdist_wheel did not run successfully.
***   │ exit code: 1
***   ╰─> [6 lines of output]
***       usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
***          or: setup.py --help [cmd1 cmd2 ...]
***          or: setup.py --help-commands
***          or: setup.py cmd --help
***       
***       error: invalid command 'bdist_wheel'
***       [end of output]
***   
***   note: This error originates from a subprocess, and is likely not a problem with pip.
***   ERROR: Failed building wheel for nvidia-ml-py3
*** ERROR: Failed to build installable wheels for some pyproject.toml based projects (nvidia-ml-py3)
*** 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions