Comments (2)
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.
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)
- [Bug]: Missing requirement for VC_redist.x64.exe causes "RuntimeError: Torch is not able to use GPU"
- installation error line 48,39, 386
- [Feature Request]: Update documentation for Unraid template HOT 1
- [Bug]: Prompt Editing Crashes Images Generation
- I used the same paramters and same safetensor,but my result is much worse than WebUI,ppppplease give me some advises! [Bug]: HOT 1
- [Bug]: Bitdefender "Online Threat Prevention" appears to be causing issues connecting to a WebUI instance hosted on a LAN HOT 5
- [Feature Request]: Fix for Deprecation Warning for Non Professionals HOT 1
- [Feature Request]: `Add number to filename when saving` gives choice between `as a prefix`/`as a suffix`
- [Bug]: ADetailer + Ultimate SD Upscale + Soft Inpainting in img2img return a nearly black image HOT 2
- [Feature Request]: Directory Structure for "sd_vae" & "sd_lora" when added to Top Row via Quicksettings list
- [Bug]: Unable to find and install torch during first run of webui-user.bat HOT 2
- [Bug]: AttributeError: 'Processed' object has no attribute 'scheduler' HOT 1
- [Bug]: My AMD device cannot check CPU to run CPU mode? HOT 1
- [Bug]: 283 settings changed after click to save HOT 5
- [Feature Request]: Add support for PixArt Sigma HOT 3
- [Bug]: Adetailer HOT 1
- [Bug]: TypeError: 'str' object is not callable HOT 1
- [Feature Request]: Remote attach debugger to a1111 HOT 3
- [Bug]: regular crashing on my 3090 HOT 5
- [Feature Request]: Set a default clip_models_path HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stable-diffusion-webui.