adieyal / sd-dynamic-prompts

A custom script for AUTOMATIC1111/stable-diffusion-webui to implement a tiny template language for random prompt generation
MIT License
1.96k stars 253 forks source link

Dynamic Installation Error - Version: 0.29.0 --- Requires: 0.30.4 #744

Closed Hearcharted closed 3 months ago

Hearcharted commented 3 months ago

Hi, how can I fix this error?

Dynamic Prompts is not installed correctly. You have dynamicprompts version 0.29.0 installed, but this extension requires version ~=0.30.4. Please run install.py from the sd-dynamic-prompts extension directory, or pip install dynamicprompts[attentiongrabber,magicprompt]~=0.30.4.

As far as I know I need to extract the files of this package ''dynamicprompts-0.30.4-py3-none-any.whl'' somewhere in Google Drive...

Horsepower: Google Colab Notebook: The Last Ben

Many thanks in advance...

akx commented 3 months ago

You shouldn't be extracting wheels by hand. You should either pip install dynamicprompts-0.30.4-py3-none-any.whl, or run the pip install command the warning message is telling you to.

Hearcharted commented 3 months ago

Based on another comment by @akx I created another Cell after Requirements and dropped this code pip install dynamicprompts[attentiongrabber,magicprompt]~=0.30.4 now the thing is working.

Thank you...

akx commented 3 months ago

Glad you got it sorted out.