AbdullahAlfaraj / AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin

Lacking duckduckgo_search

Aperta
#186 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
help wanted
Lingua principale
TypeScript
Stelle
7.3k
Fork
526
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

> ImportError: duckduckgo_search is required to image search. Please install it with `pip install duckduckgo_search`.

```
python_server_full_path: D:\AIModel\stable-diffusion-webui\extensions\Auto-Photoshop-StableDiffusion-Plugin\server/python_server
Error loading script: main.py
Traceback (most recent call last):
File "D:\AIModel\stable-diffusion-webui\extensions\Auto-Photoshop-StableDiffusion-Plugin\server/python_server\search.py", line 3, in
from duckduckgo_search import ddg_images
ModuleNotFoundError: No module named 'duckduckgo_search'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\AIModel\stable-diffusion-webui\modules\scripts.py", line 248, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\AIModel\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\AIModel\stable-diffusion-webui\extensions\Auto-Photoshop-StableDiffusion-Plugin\scripts\main.py", line 25, in
import search
File "D:\AIModel\stable-diffusion-webui\extensions\Auto-Photoshop-StableDiffusion-Plugin\server/python_server\search.py", line 5, in
raise ImportError(
```

I'm poor at python environment setting.
I generally have multiple python in the same system. And the python version under WebUI folder is different from the main one.
I tried to install via the environment under the webui folder\python. It still doesn't work.

Might needs a way to fix the environment under the webui folder so it can fix this issue.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.