InvokeAI: Conda create environment failing on Windows (development branch)
Describe your environment
- GPU: Nvidia Geforce RTX 3060 Laptop
- VRAM: 6GB
- CPU arch: Intel Core i7 11800H
- OS: Windows 11
- Python: Anaconda
- Branch: development
- Commit: 622db491b255d2ab4e15d930b20782c06b04c14b
Describe the bug
Error when running conda env create -f environment.yaml
on Conda Prompt.
To Reproduce Steps to reproduce the behavior:
- run
conda env create -f environment.yaml
on conda prompt, windows 11 - See error
Screenshots I have the complete install log here:
(base) C:\stable-diffusion-lstein>conda env remove --name ldm
Remove all packages in environment c:\Users\wbech\anaconda3\envs\ldm:
(base) C:\stable-diffusion-lstein>conda env create -f environment.yaml
Collecting package metadata (repodata.json): done
Solving environment: done
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Installing pip dependencies: \ Ran pip subprocess with arguments:
['c:\\Users\\wbech\\anaconda3\\envs\\ldm\\python.exe', '-m', 'pip', 'install', '-U', '-r', 'C:\\stable-diffusion-lstein\\condaenv.ipfokpls.requirements.txt']
Pip subprocess output:
Obtaining clip from git+https://github.com/openai/CLIP.git@main#egg=clip (from -r C:\stable-diffusion-lstein\condaenv.ipfokpls.requirements.txt (line 22))
Updating c:\stable-diffusion-lstein\src\clip clone (to revision main)
Obtaining taming-transformers from git+https://github.com/CompVis/taming-transformers.git@master#egg=taming-transformers (from -r C:\stable-diffusion-lstein\condaenv.ipfokpls.requirements.txt (line 23))
Updating c:\stable-diffusion-lstein\src\taming-transformers clone (to revision master)
Obtaining k-diffusion from git+https://github.com/lstein/k-diffusion.git@master#egg=k-diffusion (from -r C:\stable-diffusion-lstein\condaenv.ipfokpls.requirements.txt (line 24))
Updating c:\stable-diffusion-lstein\src\k-diffusion clone (to revision master)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Obtaining gfpgan from git+https://github.com/lstein/GFPGAN@fix-dark-cast-images#egg=gfpgan (from -r C:\stable-diffusion-lstein\condaenv.ipfokpls.requirements.txt (line 25))
Updating c:\stable-diffusion-lstein\src\gfpgan clone (to revision fix-dark-cast-images)
Obtaining file:///C:/stable-diffusion-lstein (from -r C:\stable-diffusion-lstein\condaenv.ipfokpls.requirements.txt (line 26))
Requirement already satisfied: torch in c:\users\wbech\anaconda3\envs\ldm\lib\site-packages (from clip->-r C:\stable-diffusion-lstein\condaenv.ipfokpls.requirements.txt (line 22)) (1.11.0)
Requirement already satisfied: torchvision in c:\users\wbech\anaconda3\envs\ldm\lib\site-packages (from clip->-r C:\stable-diffusion-lstein\condaenv.ipfokpls.requirements.txt (line 22)) (0.12.0)
Requirement already satisfied: numpy in c:\users\wbech\anaconda3\envs\ldm\lib\site-packages (from gfpgan->-r C:\stable-diffusion-lstein\condaenv.ipfokpls.requirements.txt (line 25)) (1.19.2)
Collecting albumentations==0.4.3
Using cached albumentations-0.4.3-py3-none-any.whl
Collecting dependency_injector==4.40.0
Using cached dependency_injector-4.40.0-cp39-cp39-win_amd64.whl (556 kB)
Requirement already satisfied: six<=1.16.0,>=1.7.0 in c:\users\wbech\anaconda3\envs\ldm\lib\site-packages (from dependency_injector==4.40.0->-r C:\stable-diffusion-lstein\condaenv.ipfokpls.requirements.txt (line 19)) (1.16.0)
Collecting einops==0.3.0
Using cached einops-0.3.0-py2.py3-none-any.whl (25 kB)
Collecting flask==2.1.3
Using cached Flask-2.1.3-py3-none-any.whl (95 kB)
Collecting flask_cors==3.0.10
Using cached Flask_Cors-3.0.10-py2.py3-none-any.whl (14 kB)
Collecting flask_socketio==5.3.0
Using cached Flask_SocketIO-5.3.0-py3-none-any.whl (17 kB)
Collecting imageio==2.9.0
Using cached imageio-2.9.0-py3-none-any.whl (3.3 MB)
Collecting imageio-ffmpeg==0.4.2
Using cached imageio_ffmpeg-0.4.2-py3-none-win_amd64.whl (22.6 MB)
Collecting kornia==0.6.0
Using cached kornia-0.6.0-py2.py3-none-any.whl (367 kB)
Collecting omegaconf==2.1.1
Using cached omegaconf-2.1.1-py3-none-any.whl (74 kB)
Collecting opencv-python==4.5.5.64
Using cached opencv_python-4.5.5.64-cp36-abi3-win_amd64.whl (35.4 MB)
Collecting pillow==6.2.0
Using cached Pillow-6.2.0.tar.gz (37.4 MB)
Collecting pudb==2019.2
Using cached pudb-2019.2-py3-none-any.whl
Collecting pytorch-lightning==1.4.2
Using cached pytorch_lightning-1.4.2-py3-none-any.whl (916 kB)
Requirement already satisfied: typing-extensions in c:\users\wbech\anaconda3\envs\ldm\lib\site-packages (from pytorch-lightning==1.4.2->-r C:\stable-diffusion-lstein\condaenv.ipfokpls.requirements.txt (line 6)) (4.3.0)
Collecting realesrgan==0.2.5.0
Using cached realesrgan-0.2.5.0-py3-none-any.whl (25 kB)
Collecting streamlit==1.12.0
Using cached streamlit-1.12.0-py2.py3-none-any.whl (9.1 MB)
Requirement already satisfied: requests>=2.4 in c:\users\wbech\anaconda3\envs\ldm\lib\site-packages (from streamlit==1.12.0->-r C:\stable-diffusion-lstein\condaenv.ipfokpls.requirements.txt (line 10)) (2.28.1)
Collecting torch-fidelity==0.3.0
Using cached torch_fidelity-0.3.0-py3-none-any.whl (37 kB)
Collecting torchmetrics==0.6.0
Using cached torchmetrics-0.6.0-py3-none-any.whl (329 kB)
Collecting transformers==4.19.2
Using cached transformers-4.19.2-py3-none-any.whl (4.2 MB)
Collecting antlr4-python3-runtime==4.8
Using cached antlr4_python3_runtime-4.8-py3-none-any.whl
Collecting pyDeprecate==0.3.1
Using cached pyDeprecate-0.3.1-py3-none-any.whl (10 kB)
Collecting test-tube>=0.7.5
Using cached test_tube-0.7.5-py3-none-any.whl
Collecting altair>=3.2.0
Using cached altair-4.2.0-py3-none-any.whl (812 kB)
Collecting basicsr>=1.4.2
Using cached basicsr-1.4.2-py3-none-any.whl
Collecting blinker>=1.0.0
Using cached blinker-1.5-py2.py3-none-any.whl (12 kB)
Collecting cachetools>=4.0
Using cached cachetools-5.2.0-py3-none-any.whl (9.3 kB)
Collecting click>=8.0
Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting facexlib>=0.2.5
Using cached facexlib-0.2.5-py3-none-any.whl (59 kB)
Collecting fsspec[http]!=2021.06.0,>=2021.05.0
Using cached fsspec-2022.8.2-py3-none-any.whl (140 kB)
Collecting aiohttp!=4.0.0a0,!=4.0.0a1
Using cached aiohttp-3.8.1-cp39-cp39-win_amd64.whl (554 kB)
Requirement already satisfied: charset-normalizer<3.0,>=2.0 in c:\users\wbech\anaconda3\envs\ldm\lib\site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]!=2021.06.0,>=2021.05.0->pytorch-lightning==1.4.2->-r C:\stable-diffusion-lstein\condaenv.ipfokpls.requirements.txt (line 6)) (2.0.4)
Collecting aiosignal>=1.1.2
Using cached aiosignal-1.2.0-py3-none-any.whl (8.2 kB)
Collecting async-timeout<5.0,>=4.0.0a3
Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting attrs>=17.3.0
Using cached attrs-22.1.0-py2.py3-none-any.whl (58 kB)
Collecting frozenlist>=1.1.1
Using cached frozenlist-1.3.1-cp39-cp39-win_amd64.whl (34 kB)
Collecting future>=0.17.1
Using cached future-0.18.2-py3-none-any.whl
Collecting gitpython!=3.1.19
Using cached GitPython-3.1.27-py3-none-any.whl (181 kB)
Collecting gitdb<5,>=4.0.1
Using cached gitdb-4.0.9-py3-none-any.whl (63 kB)
Collecting huggingface-hub<1.0,>=0.1.0
Using cached huggingface_hub-0.9.1-py3-none-any.whl (120 kB)
Collecting imgaug<0.2.7,>=0.2.5
Using cached imgaug-0.2.6-py3-none-any.whl
Collecting importlib-metadata>=3.6.0
Using cached importlib_metadata-4.12.0-py3-none-any.whl (21 kB)
Collecting itsdangerous>=2.0
Using cached itsdangerous-2.1.2-py3-none-any.whl (15 kB)
Collecting Jinja2>=3.0
Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting jsonschema>=3.0
Using cached jsonschema-4.16.0-py3-none-any.whl (83 kB)
Collecting MarkupSafe>=2.0
Using cached MarkupSafe-2.1.1-cp39-cp39-win_amd64.whl (17 kB)
Collecting multidict<7.0,>=4.5
Using cached multidict-6.0.2-cp39-cp39-win_amd64.whl (28 kB)
Collecting opencv-python-headless>=4.1.1
Using cached opencv_python_headless-4.6.0.66-cp36-abi3-win_amd64.whl (35.5 MB)
Collecting packaging
Using cached packaging-21.3-py3-none-any.whl (40 kB)
Collecting pandas>=0.21.0
Using cached pandas-1.4.4-cp39-cp39-win_amd64.whl (10.6 MB)
Collecting protobuf<4,>=3.12
Using cached protobuf-3.20.2-cp39-cp39-win_amd64.whl (904 kB)
Collecting pyarrow>=4.0
Using cached pyarrow-9.0.0-cp39-cp39-win_amd64.whl (19.6 MB)
Collecting pydeck>=0.1.dev5
Using cached pydeck-0.8.0b3-py2.py3-none-any.whl (4.7 MB)
Collecting pygments>=1.0
Using cached Pygments-2.13.0-py3-none-any.whl (1.1 MB)
Collecting pympler>=0.9
Using cached Pympler-1.0.1-py3-none-any.whl (164 kB)
Collecting pyparsing!=3.0.5,>=2.0.2
Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)
Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
Using cached pyrsistent-0.18.1-cp39-cp39-win_amd64.whl (61 kB)
Collecting python-dateutil
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting python-socketio>=5.0.2
Using cached python_socketio-5.7.1-py3-none-any.whl (56 kB)
Collecting bidict>=0.21.0
Using cached bidict-0.22.0-py3-none-any.whl (36 kB)
Collecting python-engineio>=4.3.0
Using cached python_engineio-4.3.4-py3-none-any.whl (52 kB)
Collecting pytz>=2020.1
Using cached pytz-2022.2.1-py2.py3-none-any.whl (500 kB)
Collecting pyyaml
Using cached PyYAML-6.0-cp39-cp39-win_amd64.whl (151 kB)
Collecting regex
Using cached regex-2022.9.13-cp39-cp39-win_amd64.whl (267 kB)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\wbech\anaconda3\envs\ldm\lib\site-packages (from requests>=2.4->streamlit==1.12.0->-r C:\stable-diffusion-lstein\condaenv.ipfokpls.requirements.txt (line 10)) (2022.6.15)
Requirement already satisfied: idna<4,>=2.5 in c:\users\wbech\anaconda3\envs\ldm\lib\site-packages (from requests>=2.4->streamlit==1.12.0->-r C:\stable-diffusion-lstein\condaenv.ipfokpls.requirements.txt (line 10)) (3.3)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\wbech\anaconda3\envs\ldm\lib\site-packages (from requests>=2.4->streamlit==1.12.0->-r C:\stable-diffusion-lstein\condaenv.ipfokpls.requirements.txt (line 10)) (1.26.11)
Collecting rich>=10.11.0
Using cached rich-12.5.1-py3-none-any.whl (235 kB)
Collecting commonmark<0.10.0,>=0.9.0
Using cached commonmark-0.9.1-py2.py3-none-any.whl (51 kB)
Collecting scikit-image
Using cached scikit_image-0.19.3-cp39-cp39-win_amd64.whl (12.1 MB)
Collecting networkx>=2.2
Using cached networkx-2.8.6-py3-none-any.whl (2.0 MB)
Collecting PyWavelets>=1.1.1
Using cached PyWavelets-1.4.1-cp39-cp39-win_amd64.whl (4.2 MB)
Collecting scipy
Using cached scipy-1.9.1-cp39-cp39-win_amd64.whl (38.6 MB)
Collecting smmap<6,>=3.0.1
Using cached smmap-5.0.0-py3-none-any.whl (24 kB)
Collecting tensorboard>=2.2.0
Using cached tensorboard-2.10.0-py3-none-any.whl (5.9 MB)
Requirement already satisfied: wheel>=0.26 in c:\users\wbech\anaconda3\envs\ldm\lib\site-packages (from tensorboard>=2.2.0->pytorch-lightning==1.4.2->-r C:\stable-diffusion-lstein\condaenv.ipfokpls.requirements.txt (line 6)) (0.37.1)
Requirement already satisfied: setuptools>=41.0.0 in c:\users\wbech\anaconda3\envs\ldm\lib\site-packages (from tensorboard>=2.2.0->pytorch-lightning==1.4.2->-r C:\stable-diffusion-lstein\condaenv.ipfokpls.requirements.txt (line 6)) (63.4.1)
Collecting absl-py>=0.4
Using cached absl_py-1.2.0-py3-none-any.whl (123 kB)
Collecting google-auth<3,>=1.6.3
Using cached google_auth-2.11.0-py2.py3-none-any.whl (167 kB)
Collecting google-auth-oauthlib<0.5,>=0.4.1
Using cached google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB)
Collecting grpcio>=1.24.3
Using cached grpcio-1.49.0-cp39-cp39-win_amd64.whl (3.6 MB)
Collecting markdown>=2.6.8
Using cached Markdown-3.4.1-py3-none-any.whl (93 kB)
Collecting protobuf<4,>=3.12
Using cached protobuf-3.19.5-cp39-cp39-win_amd64.whl (895 kB)
Collecting pyasn1-modules>=0.2.1
Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting pyasn1<0.5.0,>=0.4.6
Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting requests-oauthlib>=0.7.0
Using cached requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
Collecting oauthlib>=3.0.0
Using cached oauthlib-3.2.1-py3-none-any.whl (151 kB)
Collecting rsa<5,>=3.1.4
Using cached rsa-4.9-py3-none-any.whl (34 kB)
Collecting tensorboard-data-server<0.7.0,>=0.6.0
Using cached tensorboard_data_server-0.6.1-py3-none-any.whl (2.4 kB)
Collecting tensorboard-plugin-wit>=1.6.0
Using cached tensorboard_plugin_wit-1.8.1-py3-none-any.whl (781 kB)
Collecting tifffile>=2019.7.26
Using cached tifffile-2022.8.12-py3-none-any.whl (208 kB)
Collecting tokenizers!=0.11.3,<0.13,>=0.11.1
Using cached tokenizers-0.12.1-cp39-cp39-win_amd64.whl (3.3 MB)
Collecting tornado>=5.0
Using cached tornado-6.2-cp37-abi3-win_amd64.whl (425 kB)
Collecting tqdm
Using cached tqdm-4.64.1-py2.py3-none-any.whl (78 kB)
Collecting tzlocal>=1.1
Using cached tzlocal-4.2-py3-none-any.whl (19 kB)
Collecting urwid>=1.1.1
Using cached urwid-2.1.2-cp39-cp39-win_amd64.whl
Collecting validators>=0.2
Using cached validators-0.20.0-py3-none-any.whl
Collecting decorator>=3.4.0
Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting Werkzeug>=2.0
Using cached Werkzeug-2.2.2-py3-none-any.whl (232 kB)
Collecting yarl<2.0,>=1.0
Using cached yarl-1.8.1-cp39-cp39-win_amd64.whl (56 kB)
Collecting zipp>=0.5
Using cached zipp-3.8.1-py3-none-any.whl (5.6 kB)
Collecting eventlet
Using cached eventlet-0.33.1-py2.py3-none-any.whl (226 kB)
Collecting dnspython>=1.15.0
Using cached dnspython-2.2.1-py3-none-any.whl (269 kB)
Collecting greenlet>=0.3
Using cached greenlet-1.1.3-cp39-cp39-win_amd64.whl (101 kB)
Collecting accelerate
Using cached accelerate-0.12.0-py3-none-any.whl (143 kB)
Collecting addict
Using cached addict-2.4.0-py3-none-any.whl (3.8 kB)
Collecting clean-fid
Using cached clean_fid-0.1.31-py3-none-any.whl (24 kB)
Using cached clean_fid-0.1.30-py3-none-any.whl (24 kB)
Using cached clean_fid-0.1.29-py3-none-any.whl (24 kB)
Using cached clean_fid-0.1.28-py3-none-any.whl (23 kB)
Using cached clean_fid-0.1.26-py3-none-any.whl (23 kB)
Using cached clean_fid-0.1.25-py3-none-any.whl (23 kB)
Using cached clean_fid-0.1.24-py3-none-any.whl (23 kB)
Using cached clean_fid-0.1.23-py3-none-any.whl (23 kB)
Using cached clean_fid-0.1.22-py3-none-any.whl (23 kB)
Using cached clean_fid-0.1.21-py3-none-any.whl (23 kB)
Using cached clean_fid-0.1.19-py3-none-any.whl (23 kB)
Using cached clean_fid-0.1.18-py3-none-any.whl (23 kB)
Using cached clean_fid-0.1.17-py3-none-any.whl (23 kB)
Using cached clean_fid-0.1.16-py3-none-any.whl (22 kB)
Using cached clean_fid-0.1.15-py3-none-any.whl (22 kB)
Using cached clean_fid-0.1.14-py3-none-any.whl (22 kB)
Using cached clean_fid-0.1.13-py3-none-any.whl (19 kB)
Using cached clean_fid-0.1.12-py3-none-any.whl (19 kB)
Using cached clean_fid-0.1.11-py3-none-any.whl (19 kB)
Using cached clean_fid-0.1.10-py3-none-any.whl (16 kB)
Using cached clean_fid-0.1.9-py3-none-any.whl (15 kB)
Using cached clean_fid-0.1.8-py3-none-any.whl (16 kB)
Using cached clean_fid-0.1.6-py3-none-any.whl (15 kB)
Collecting colorama
Using cached colorama-0.4.5-py2.py3-none-any.whl (16 kB)
Collecting entrypoints
Using cached entrypoints-0.4-py3-none-any.whl (5.3 kB)
Collecting filelock
Using cached filelock-3.8.0-py3-none-any.whl (10 kB)
Collecting filterpy
Using cached filterpy-1.4.5-py3-none-any.whl
Collecting ftfy
Using cached ftfy-6.1.1-py3-none-any.whl (53 kB)
Collecting wcwidth>=0.2.5
Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting jsonmerge
Using cached jsonmerge-1.8.0-py3-none-any.whl
Collecting lmdb
Using cached lmdb-1.3.0-cp39-cp39-win_amd64.whl (106 kB)
Collecting matplotlib
Using cached matplotlib-3.6.0-cp39-cp39-win_amd64.whl (7.2 MB)
Collecting contourpy>=1.0.1
Using cached contourpy-1.0.5-cp39-cp39-win_amd64.whl (161 kB)
Collecting cycler>=0.10
Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting fonttools>=4.22.0
Using cached fonttools-4.37.2-py3-none-any.whl (959 kB)
Collecting kiwisolver>=1.0.1
Using cached kiwisolver-1.4.4-cp39-cp39-win_amd64.whl (55 kB)
Collecting numba
Using cached numba-0.56.2-cp39-cp39-win_amd64.whl (2.5 MB)
Collecting llvmlite<0.40,>=0.39.0dev0
Using cached llvmlite-0.39.1-cp39-cp39-win_amd64.whl (23.2 MB)
Collecting psutil
Using cached psutil-5.9.2-cp39-cp39-win_amd64.whl (245 kB)
Collecting pytz-deprecation-shim
Using cached pytz_deprecation_shim-0.1.0.post0-py2.py3-none-any.whl (15 kB)
Collecting resize-right
Using cached resize_right-0.0.2-py3-none-any.whl (8.9 kB)
Collecting semver
Using cached semver-2.13.0-py2.py3-none-any.whl (12 kB)
Collecting tb-nightly
Using cached tb_nightly-2.11.0a20220916-py3-none-any.whl (5.9 MB)
Collecting toml
Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting toolz
Using cached toolz-0.12.0-py3-none-any.whl (55 kB)
Collecting torchdiffeq
Using cached torchdiffeq-0.2.3-py3-none-any.whl (31 kB)
Collecting tzdata
Using cached tzdata-2022.2-py2.py3-none-any.whl (336 kB)
Collecting wandb
Using cached wandb-0.13.3-py2.py3-none-any.whl (1.8 MB)
Collecting docker-pycreds>=0.4.0
Using cached docker_pycreds-0.4.0-py2.py3-none-any.whl (9.0 kB)
Collecting promise<3,>=2.0
Using cached promise-2.3-py3-none-any.whl
Collecting sentry-sdk>=1.0.0
Using cached sentry_sdk-1.9.8-py2.py3-none-any.whl (158 kB)
Collecting shortuuid>=0.5.0
Using cached shortuuid-1.0.9-py3-none-any.whl (9.4 kB)
Collecting pathtools
Using cached pathtools-0.1.2-py3-none-any.whl
Collecting setproctitle
Using cached setproctitle-1.3.2-cp39-cp39-win_amd64.whl (11 kB)
Collecting watchdog
Using cached watchdog-2.1.9-py3-none-win_amd64.whl (78 kB)
Collecting yapf
Using cached yapf-0.32.0-py2.py3-none-any.whl (190 kB)
Collecting setuptools>=41.0.0
Using cached setuptools-59.8.0-py3-none-any.whl (952 kB)
Building wheels for collected packages: pillow
Building wheel for pillow (setup.py): started
Building wheel for pillow (setup.py): finished with status 'error'
Running setup.py clean for pillow
Failed to build pillow
Installing collected packages: pyasn1, zipp, rsa, pyparsing, pyasn1-modules, oauthlib, cachetools, requests-oauthlib, python-dateutil, pillow, packaging, MarkupSafe, kiwisolver, importlib-metadata, google-auth, fonttools, cycler, contourpy, Werkzeug, tifffile, tensorboard-plugin-wit, tensorboard-data-server, smmap, setuptools, scipy, PyWavelets, protobuf, networkx, multidict, matplotlib, markdown, llvmlite, imageio, grpcio, google-auth-oauthlib, frozenlist, colorama, absl-py, yarl, yapf, wcwidth, tzdata, tqdm, tb-nightly, scikit-image, pyyaml, pytz, pyrsistent, opencv-python, numba, lmdb, gitdb, future, filterpy, attrs, async-timeout, aiosignal, addict, toolz, shortuuid, setproctitle, sentry-sdk, regex, pytz-deprecation-shim, python-engineio, pygments, psutil, promise, pathtools, pandas, jsonschema, Jinja2, itsdangerous, gitpython, ftfy, fsspec, filelock, facexlib, entrypoints, docker-pycreds, decorator, commonmark, click, bidict, basicsr, aiohttp, watchdog, wandb, validators, urwid, tzlocal, tornado, torchmetrics, torchdiffeq, toml, tokenizers, tensorboard, semver, rich, resize-right, python-socketio, pympler, pyDeprecate, pydeck, pyarrow, opencv-python-headless, kornia, jsonmerge, imgaug, huggingface-hub, greenlet, gfpgan, flask, einops, dnspython, clip, clean-fid, blinker, antlr4-python3-runtime, altair, accelerate, transformers, torch-fidelity, test-tube, taming-transformers, streamlit, stable-diffusion, realesrgan, pytorch-lightning, pudb, omegaconf, k-diffusion, imageio-ffmpeg, flask-socketio, flask-cors, eventlet, dependency-injector, albumentations
Attempting uninstall: pillow
Found existing installation: Pillow 9.2.0
Uninstalling Pillow-9.2.0:
Successfully uninstalled Pillow-9.2.0
Running setup.py install for pillow: started
Running setup.py install for pillow: finished with status 'error'
Rolling back uninstall of Pillow
Moving to c:\users\wbech\anaconda3\envs\ldm\lib\site-packages\pil\
from C:\Users\wbech\anaconda3\envs\ldm\Lib\site-packages\~il
Moving to c:\users\wbech\anaconda3\envs\ldm\lib\site-packages\pillow-9.2.0-py3.9.egg-info
from C:\Users\wbech\anaconda3\envs\ldm\Lib\site-packages\~illow-9.2.0-py3.9.egg-info
Pip subprocess error:
ERROR: Command errored out with exit status 1:
command: 'c:\Users\wbech\anaconda3\envs\ldm\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\wbech\\AppData\\Local\\Temp\\pip-install-fuam5f40\\pillow_28c7c92136de4268825e8171b88d6d99\\setup.py'"'"'; __file__='"'"'C:\\Users\\wbech\\AppData\\Local\\Temp\\pip-install-fuam5f40\\pillow_28c7c92136de4268825e8171b88d6d99\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\wbech\AppData\Local\Temp\pip-wheel-15p9aujx'
cwd: C:\Users\wbech\AppData\Local\Temp\pip-install-fuam5f40\pillow_28c7c92136de4268825e8171b88d6d99\
Complete output (185 lines):
C:\Users\wbech\AppData\Local\Temp\pip-install-fuam5f40\pillow_28c7c92136de4268825e8171b88d6d99\setup.py:28: RuntimeWarning: Pillow does not yet support Python 3.9 and does not yet provide prebuilt Windows binaries. We do not recommend building from source on Windows.
warnings.warn(
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-39
creating build\lib.win-amd64-cpython-39\PIL
copying src\PIL\BdfFontFile.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\BlpImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\BmpImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\BufrStubImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ContainerIO.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\CurImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\DcxImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\DdsImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\EpsImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ExifTags.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\features.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\FitsStubImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\FliImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\FontFile.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\FpxImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\FtexImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\GbrImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\GdImageFile.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\GifImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\GimpGradientFile.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\GimpPaletteFile.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\GribStubImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\Hdf5StubImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\IcnsImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\IcoImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\Image.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageChops.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageCms.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageColor.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageDraw.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageDraw2.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageEnhance.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageFile.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageFilter.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageFont.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageGrab.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageMath.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageMode.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageMorph.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageOps.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImagePalette.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImagePath.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageQt.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageSequence.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageShow.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageStat.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageTk.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageTransform.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageWin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImtImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\IptcImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\Jpeg2KImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\JpegImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\JpegPresets.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\McIdasImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\MicImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\MpegImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\MpoImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\MspImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\PaletteFile.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\PalmImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\PcdImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\PcfFontFile.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\PcxImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\PdfImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\PdfParser.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\PixarImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\PngImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\PpmImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\PsdImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\PSDraw.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\PyAccess.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\SgiImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\SpiderImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\SunImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\TarIO.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\TgaImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\TiffImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\TiffTags.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\WalImageFile.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\WebPImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\WmfImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\XbmImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\XpmImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\XVThumbImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\_binary.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\_tkinter_finder.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\_util.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\_version.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\__init__.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\__main__.py -> build\lib.win-amd64-cpython-39\PIL
running egg_info
writing src\Pillow.egg-info\PKG-INFO
writing dependency_links to src\Pillow.egg-info\dependency_links.txt
writing top-level names to src\Pillow.egg-info\top_level.txt
reading manifest file 'src\Pillow.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.c'
warning: no files found matching '*.h'
warning: no files found matching '*.sh'
warning: no previously-included files found matching '.appveyor.yml'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.codecov.yml'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'azure-pipelines.yml'
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
no previously-included directories found matching '.azure-pipelines'
no previously-included directories found matching '.travis'
adding license file 'LICENSE'
writing manifest file 'src\Pillow.egg-info\SOURCES.txt'
running build_ext
The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
Traceback (most recent call last):
File "C:\Users\wbech\AppData\Local\Temp\pip-install-fuam5f40\pillow_28c7c92136de4268825e8171b88d6d99\setup.py", line 852, in <module>
setup(
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
return run_commands(dist)
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
dist.run_commands()
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\_distutils\dist.py", line 973, in run_commands
self.run_command(cmd)
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\_distutils\dist.py", line 992, in run_command
cmd_obj.run()
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\wheel\bdist_wheel.py", line 299, in run
self.run_command('build')
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\_distutils\dist.py", line 992, in run_command
cmd_obj.run()
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\command\build.py", line 24, in run
super().run()
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\_distutils\command\build.py", line 132, in run
self.run_command(cmd_name)
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\_distutils\dist.py", line 992, in run_command
cmd_obj.run()
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 346, in run
self.build_extensions()
File "C:\Users\wbech\AppData\Local\Temp\pip-install-fuam5f40\pillow_28c7c92136de4268825e8171b88d6d99\setup.py", line 687, in build_extensions
raise RequiredDependencyException(f)
__main__.RequiredDependencyException: zlib
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\wbech\AppData\Local\Temp\pip-install-fuam5f40\pillow_28c7c92136de4268825e8171b88d6d99\setup.py", line 902, in <module>
raise RequiredDependencyException(msg)
__main__.RequiredDependencyException:
The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
----------------------------------------
ERROR: Failed building wheel for pillow
ERROR: Command errored out with exit status 1:
command: 'c:\Users\wbech\anaconda3\envs\ldm\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\wbech\\AppData\\Local\\Temp\\pip-install-fuam5f40\\pillow_28c7c92136de4268825e8171b88d6d99\\setup.py'"'"'; __file__='"'"'C:\\Users\\wbech\\AppData\\Local\\Temp\\pip-install-fuam5f40\\pillow_28c7c92136de4268825e8171b88d6d99\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\wbech\AppData\Local\Temp\pip-record-tc0mkfxp\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\Users\wbech\anaconda3\envs\ldm\Include\pillow'
cwd: C:\Users\wbech\AppData\Local\Temp\pip-install-fuam5f40\pillow_28c7c92136de4268825e8171b88d6d99\
Complete output (189 lines):
C:\Users\wbech\AppData\Local\Temp\pip-install-fuam5f40\pillow_28c7c92136de4268825e8171b88d6d99\setup.py:28: RuntimeWarning: Pillow does not yet support Python 3.9 and does not yet provide prebuilt Windows binaries. We do not recommend building from source on Windows.
warnings.warn(
running install
c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-39
creating build\lib.win-amd64-cpython-39\PIL
copying src\PIL\BdfFontFile.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\BlpImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\BmpImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\BufrStubImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ContainerIO.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\CurImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\DcxImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\DdsImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\EpsImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ExifTags.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\features.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\FitsStubImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\FliImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\FontFile.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\FpxImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\FtexImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\GbrImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\GdImageFile.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\GifImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\GimpGradientFile.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\GimpPaletteFile.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\GribStubImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\Hdf5StubImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\IcnsImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\IcoImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\Image.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageChops.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageCms.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageColor.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageDraw.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageDraw2.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageEnhance.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageFile.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageFilter.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageFont.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageGrab.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageMath.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageMode.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageMorph.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageOps.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImagePalette.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImagePath.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageQt.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageSequence.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageShow.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageStat.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageTk.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageTransform.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImageWin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\ImtImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\IptcImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\Jpeg2KImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\JpegImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\JpegPresets.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\McIdasImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\MicImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\MpegImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\MpoImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\MspImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\PaletteFile.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\PalmImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\PcdImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\PcfFontFile.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\PcxImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\PdfImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\PdfParser.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\PixarImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\PngImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\PpmImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\PsdImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\PSDraw.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\PyAccess.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\SgiImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\SpiderImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\SunImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\TarIO.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\TgaImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\TiffImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\TiffTags.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\WalImageFile.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\WebPImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\WmfImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\XbmImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\XpmImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\XVThumbImagePlugin.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\_binary.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\_tkinter_finder.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\_util.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\_version.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\__init__.py -> build\lib.win-amd64-cpython-39\PIL
copying src\PIL\__main__.py -> build\lib.win-amd64-cpython-39\PIL
running egg_info
writing src\Pillow.egg-info\PKG-INFO
writing dependency_links to src\Pillow.egg-info\dependency_links.txt
writing top-level names to src\Pillow.egg-info\top_level.txt
reading manifest file 'src\Pillow.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.c'
warning: no files found matching '*.h'
warning: no files found matching '*.sh'
warning: no previously-included files found matching '.appveyor.yml'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.codecov.yml'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'azure-pipelines.yml'
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
no previously-included directories found matching '.azure-pipelines'
no previously-included directories found matching '.travis'
adding license file 'LICENSE'
writing manifest file 'src\Pillow.egg-info\SOURCES.txt'
running build_ext
The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
Traceback (most recent call last):
File "C:\Users\wbech\AppData\Local\Temp\pip-install-fuam5f40\pillow_28c7c92136de4268825e8171b88d6d99\setup.py", line 852, in <module>
setup(
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
return run_commands(dist)
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
dist.run_commands()
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\_distutils\dist.py", line 973, in run_commands
self.run_command(cmd)
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\_distutils\dist.py", line 992, in run_command
cmd_obj.run()
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\command\install.py", line 68, in run
return orig.install.run(self)
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\_distutils\command\install.py", line 692, in run
self.run_command('build')
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\_distutils\dist.py", line 992, in run_command
cmd_obj.run()
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\command\build.py", line 24, in run
super().run()
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\_distutils\command\build.py", line 132, in run
self.run_command(cmd_name)
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\_distutils\dist.py", line 992, in run_command
cmd_obj.run()
File "c:\Users\wbech\anaconda3\envs\ldm\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 346, in run
self.build_extensions()
File "C:\Users\wbech\AppData\Local\Temp\pip-install-fuam5f40\pillow_28c7c92136de4268825e8171b88d6d99\setup.py", line 687, in build_extensions
raise RequiredDependencyException(f)
__main__.RequiredDependencyException: zlib
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\wbech\AppData\Local\Temp\pip-install-fuam5f40\pillow_28c7c92136de4268825e8171b88d6d99\setup.py", line 902, in <module>
raise RequiredDependencyException(msg)
__main__.RequiredDependencyException:
The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\Users\wbech\anaconda3\envs\ldm\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\wbech\\AppData\\Local\\Temp\\pip-install-fuam5f40\\pillow_28c7c92136de4268825e8171b88d6d99\\setup.py'"'"'; __file__='"'"'C:\\Users\\wbech\\AppData\\Local\\Temp\\pip-install-fuam5f40\\pillow_28c7c92136de4268825e8171b88d6d99\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\wbech\AppData\Local\Temp\pip-record-tc0mkfxp\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\Users\wbech\anaconda3\envs\ldm\Include\pillow' Check the logs for full command output.
failed
CondaEnvException: Pip failed
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 23 (14 by maintainers)
I hate to be That Guy, but the first thing I’d recommend when conda blows up on Windows is trying pew and pip:
(Assuming Python >=3.10 and git already installed, and pip is working)
On development branch, in the root of the repo directory (maybe even on a fresh clone, depending on how bad things are)
(Note that it will “go quiet” once you see “Installing collected packages:” and a long list of packages; it should only take >5min or so after that point, depending on your system performance)
You should see “Launching subshell in virtual environment. Type ‘exit’ to return” (don’t forget
python scripts\preload_models.py
if this is a fresh clone).All done.
P.S. I just now tested this with current development HEAD, telling pew to create a new environment, after clearing pip caches. Works as advertised all the way through generating an image via ‘dream’