AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin
View on GitHubLacking duckduckgo_search
Open
#186 opened on Mar 20, 2023
help wanted
Description
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 <module>
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 "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "D:\AIModel\stable-diffusion-webui\extensions\Auto-Photoshop-StableDiffusion-Plugin\scripts\main.py", line 25, in <module>
import search
File "D:\AIModel\stable-diffusion-webui\extensions\Auto-Photoshop-StableDiffusion-Plugin\server/python_server\search.py", line 5, in <module>
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.