Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] cant run addon #20

Open
Rogal80 opened this issue Sep 14, 2024 · 1 comment
Open

[BUG] cant run addon #20

Rogal80 opened this issue Sep 14, 2024 · 1 comment

Comments

@Rogal80
Copy link

Rogal80 commented Sep 14, 2024

Hi,

after instaling all nessesery soft - LM studio and run server 1234 , i get this log in stable diffusion latest version (Version: v1.10.1
Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2)

Error loading script: auto_prompt_llm.py
Traceback (most recent call last):
File "I:\Github\stable-diffusion-webui\modules\scripts.py", line 515, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "I:\Github\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "I:\Github\stable-diffusion-webui\extensions\sd-webui-decadetw-auto-prompt-llm\scripts\auto_prompt_llm.py", line 11, in
from openai import OpenAI, OpenAIError
ImportError: cannot import name 'OpenAI' from 'openai' (I:\Github\stable-diffusion-webui\venv\lib\site-packages\openai_init
.py)

did i missing something ?

@xlinx
Copy link
Owner

xlinx commented Sep 15, 2024

test is base on Releases v1.10.0
but its seems like small error on ur version v1.10.1 test is on 1.10.0 , that should be auto install openAI lib.
u can try install by manual.
open cmd ont ur stable python venv and type : pip install OpenAI
i will try install v1.10.1 later or remove lib(OpenAI) dependence later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants