Giter Site home page Giter Site logo

Comments (2)

Mithrae1 avatar Mithrae1 commented on June 28, 2024

Also this is what happens when I do a clean install:

Creating venv in directory E:\stable-diffusion\stable-diffusion-webui\venv using python "C:\Users\Aman2\AppData\Local\Programs\Python\Python310\python.exe"
venv "E:\stable-diffusion\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.9.4-1-g546cbb02
Commit hash: 546cbb0297c2e758c2f1bf59bd60bc75f85a5e4e
Installing torch and torchvision
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu121
Collecting torch==2.1.2
  Using cached https://download.pytorch.org/whl/cu121/torch-2.1.2%2Bcu121-cp310-cp310-win_amd64.whl (2473.9 MB)
Collecting torchvision==0.16.2
  Using cached https://download.pytorch.org/whl/cu121/torchvision-0.16.2%2Bcu121-cp310-cp310-win_amd64.whl (5.6 MB)
Collecting filelock
  Using cached filelock-3.14.0-py3-none-any.whl (12 kB)
Collecting jinja2
  Using cached jinja2-3.1.4-py3-none-any.whl (133 kB)
Collecting sympy
  Using cached sympy-1.12.1-py3-none-any.whl (5.7 MB)
Collecting fsspec
  Using cached fsspec-2024.5.0-py3-none-any.whl (316 kB)
Collecting typing-extensions
  Using cached typing_extensions-4.12.0-py3-none-any.whl (37 kB)
Collecting networkx
  Using cached networkx-3.3-py3-none-any.whl (1.7 MB)
Collecting requests
  Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Collecting pillow!=8.3.*,>=5.3.0
  Using cached pillow-10.3.0-cp310-cp310-win_amd64.whl (2.5 MB)
Collecting numpy
  Using cached numpy-1.26.4-cp310-cp310-win_amd64.whl (15.8 MB)
Collecting MarkupSafe>=2.0
  Using cached https://download.pytorch.org/whl/MarkupSafe-2.1.5-cp310-cp310-win_amd64.whl (17 kB)
Collecting charset-normalizer<4,>=2
  Using cached charset_normalizer-3.3.2-cp310-cp310-win_amd64.whl (100 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2024.2.2-py3-none-any.whl (163 kB)
Collecting idna<4,>=2.5
  Using cached idna-3.7-py3-none-any.whl (66 kB)
Collecting urllib3<3,>=1.21.1
  Using cached urllib3-2.2.1-py3-none-any.whl (121 kB)
Collecting mpmath<1.4.0,>=1.1.0
  Using cached https://download.pytorch.org/whl/mpmath-1.3.0-py3-none-any.whl (536 kB)
Installing collected packages: mpmath, urllib3, typing-extensions, sympy, pillow, numpy, networkx, MarkupSafe, idna, fsspec, filelock, charset-normalizer, certifi, requests, jinja2, torch, torchvision
Successfully installed MarkupSafe-2.1.5 certifi-2024.2.2 charset-normalizer-3.3.2 filelock-3.14.0 fsspec-2024.5.0 idna-3.7 jinja2-3.1.4 mpmath-1.3.0 networkx-3.3 numpy-1.26.4 pillow-10.3.0 requests-2.32.3 sympy-1.12.1 torch-2.1.2+cu121 torchvision-0.16.2+cu121 typing-extensions-4.12.0 urllib3-2.2.1

[notice] A new release of pip available: 22.2.1 -> 24.0
[notice] To update, run: E:\stable-diffusion\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip
Installing clip
Traceback (most recent call last):
  File "E:\stable-diffusion\stable-diffusion-webui\launch.py", line 48, in <module>
    main()
  File "E:\stable-diffusion\stable-diffusion-webui\launch.py", line 39, in main
    prepare_environment()
  File "E:\stable-diffusion\stable-diffusion-webui\modules\launch_utils.py", line 393, in prepare_environment
    run_pip(f"install {clip_package}", "clip")
  File "E:\stable-diffusion\stable-diffusion-webui\modules\launch_utils.py", line 143, 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 "E:\stable-diffusion\stable-diffusion-webui\modules\launch_utils.py", line 115, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't install clip.
Command: "E:\stable-diffusion\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip --prefer-binary
Error code: 1
stdout: Collecting https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip
  Using cached https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip (4.3 MB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting ftfy
  Using cached ftfy-6.2.0-py3-none-any.whl (54 kB)
Collecting regex
  Using cached regex-2024.5.15-cp310-cp310-win_amd64.whl (268 kB)
Collecting tqdm
  Using cached tqdm-4.66.4-py3-none-any.whl (78 kB)
Requirement already satisfied: torch in e:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages (from clip==1.0) (2.1.2+cu121)
Requirement already satisfied: torchvision in e:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages (from clip==1.0) (0.16.2+cu121)
Collecting wcwidth<0.3.0,>=0.2.12
  Using cached wcwidth-0.2.13-py2.py3-none-any.whl (34 kB)
Requirement already satisfied: sympy in e:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages (from torch->clip==1.0) (1.12.1)
Requirement already satisfied: filelock in e:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages (from torch->clip==1.0) (3.14.0)
Requirement already satisfied: fsspec in e:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages (from torch->clip==1.0) (2024.5.0)
Requirement already satisfied: networkx in e:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages (from torch->clip==1.0) (3.3)
Requirement already satisfied: typing-extensions in e:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages (from torch->clip==1.0) (4.12.0)
Requirement already satisfied: jinja2 in e:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages (from torch->clip==1.0) (3.1.4)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in e:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages (from torchvision->clip==1.0) (10.3.0)
Requirement already satisfied: requests in e:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages (from torchvision->clip==1.0) (2.32.3)
Requirement already satisfied: numpy in e:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages (from torchvision->clip==1.0) (1.26.4)
Collecting colorama
  Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Requirement already satisfied: MarkupSafe>=2.0 in e:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages (from jinja2->torch->clip==1.0) (2.1.5)
Requirement already satisfied: charset-normalizer<4,>=2 in e:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages (from requests->torchvision->clip==1.0) (3.3.2)
Requirement already satisfied: certifi>=2017.4.17 in e:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages (from requests->torchvision->clip==1.0) (2024.2.2)
Requirement already satisfied: urllib3<3,>=1.21.1 in e:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages (from requests->torchvision->clip==1.0) (2.2.1)
Requirement already satisfied: idna<4,>=2.5 in e:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages (from requests->torchvision->clip==1.0) (3.7)
Requirement already satisfied: mpmath<1.4.0,>=1.1.0 in e:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages (from sympy->torch->clip==1.0) (1.3.0)
Using legacy 'setup.py install' for clip, since package 'wheel' is not installed.
Installing collected packages: wcwidth, regex, ftfy, colorama, tqdm, clip
  Running setup.py install for clip: started
  Running setup.py install for clip: finished with status 'done'
Successfully installed clip-1.0 colorama-0.4.6 ftfy-6.2.0 regex-2024.5.15 tqdm-4.66.4 wcwidth-0.2.13

stderr:
[notice] A new release of pip available: 22.2.1 -> 24.0
[notice] To update, run: E:\stable-diffusion\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip

I have upgraded pip to 24.0 many times after installing since it recommends me to do that at the end. I chose to ignore it this time while I ask for help.

from stable-diffusion-webui.

marigoold avatar marigoold commented on June 28, 2024

Maybe you can install assets (and CLIP) manually, by git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui-assets.git to repositories/stable-diffusion-webui-assets and checkout to specified commit (the same as CLIP), check modules/launch_utils.py for more detail of installing dependency

from stable-diffusion-webui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.