yownas / shift-attention

In stable diffusion, generate a sequence of images shifting attention in the prompt.
Other
164 stars 17 forks source link

Video not generated. Installed moviepy not recognised? #3

Closed strouder closed 1 year ago

strouder commented 1 year ago

moviepy is already installed... but when save results as video is on, it gives an error: "moviepy python module not installed. Will not be able to generate video."

Moviepy already installed 3

Web UI settings 4

Error 5

yownas commented 1 year ago

The webui uses a virtual environment. Basically it creates it's own setup of modules so it doesn't have to depend on the systems python modules or accidentally overwrite something that might break other things... So.

The easiest way to get it to work is to add the line "moviepy==1.0.3" to requirements_versions.txt and let the it install things itself.

The less easy way, if you want to install it manually, is to cd into the stable-diffusion-webui folder, type venv\Scripts\activate, install moviepy and then exit the virtual environment with venv\Scripts\deactivate.bat

afewvowels commented 1 year ago

I found the --ignore-installed tag also worked when trying to install moviepy after downloading the extension also worked in Google Colab:

!python -m pip install --ignore-installed moviepy