HelixNGC7293 / DeforumStableDiffusionLocal

Local version of Deforum Stable Diffusion, supports txt settings file input and animation features!
MIT License
713 stars 115 forks source link

Trouble installing #32

Open jonathanjosephb opened 2 years ago

jonathanjosephb commented 2 years ago

screen

this is the error I recieved:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. daal4py 2021.5.0 requires daal==2021.4.0, which is not installed. scipy 1.7.3 requires numpy<1.23.0,>=1.16.5, but you have numpy 1.23.4 which is incompatible. numba 0.55.1 requires numpy<1.22,>=1.18, but you have numpy 1.23.4 which is incompatible. Cloning into 'k-diffusion'... remote: Enumerating objects: 427, done. remote: Counting objects: 100% (146/146), done. remote: Compressing objects: 100% (22/22), done. Receiving objects: 90% (385/427)used 124 (delta 124), pack-reused 281 eceiving objects: 89% (381/427) Receiving objects: 100% (427/427), 76.34 KiB | 473.00 KiB/s, done. Resolving deltas: 100% (286/286), done.

Environment set up in 21847 seconds

(base) C:\Users\mayab\DeforumStableDiffusionLocal-main>python run.py --enable_animation_mode --settings "./runSettings_Template.txt" Local Path Variables:

models_path: ./models output_path: ./output Traceback (most recent call last): File "C:\Users\mayab\DeforumStableDiffusionLocal-main\run.py", line 1312, in main() File "C:\Users\mayab\DeforumStableDiffusionLocal-main\run.py", line 79, in main import cv2 ModuleNotFoundError: No module named 'cv2'

(base) C:\Users\mayab\DeforumStableDiffusionLocal-main>

HelixNGC7293 commented 1 year ago

It seems like the opencv is not installed, you can try to manually run this command conda install -c conda-forge opencv -y Can you try the latest version's setup.py to see if that's working now?

Environment set up taking 21847 seconds definitely not normal, you may encounter some internet issue. That downloading speed is just too slow and probably it will corrupt the downloaded installation files.