You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
报错内容:
(env) PS H:\agent\Chinese-LangChain> python main.py
2024-01-18 13:39:27,323 [INFO] [client.py:1027] HTTP Request: GET https://api.gradio.app/gradio-messaging/en "HTTP/1.1 200 OK"
Traceback (most recent call last):
File "H:\agent\Chinese-LangChain\main.py", line 6, in
from clc.langchain_application import LangChainApplication
File "H:\agent\Chinese-LangChain\clc\langchain_application.py", line 17, in
from clc.source_service import SourceService
File "H:\agent\Chinese-LangChain\clc\source_service.py", line 15, in
from duckduckgo_search import ddg
ImportError: cannot import name 'ddg' from 'duckduckgo_search' (H:\agent\Chinese-LangChain\env\lib\site-packages\duckduckgo_search_init.py)
报错内容:
(env) PS H:\agent\Chinese-LangChain> python main.py
2024-01-18 13:39:27,323 [INFO] [client.py:1027] HTTP Request: GET https://api.gradio.app/gradio-messaging/en "HTTP/1.1 200 OK"
Traceback (most recent call last):
File "H:\agent\Chinese-LangChain\main.py", line 6, in
from clc.langchain_application import LangChainApplication
File "H:\agent\Chinese-LangChain\clc\langchain_application.py", line 17, in
from clc.source_service import SourceService
File "H:\agent\Chinese-LangChain\clc\source_service.py", line 15, in
from duckduckgo_search import ddg
ImportError: cannot import name 'ddg' from 'duckduckgo_search' (H:\agent\Chinese-LangChain\env\lib\site-packages\duckduckgo_search_init.py)
我有“duckduckgo_search”,但是其文件下没有ddg文件,我想知道如何解决,或者duckduckgo在整个项目中有没有别的替代方案
The text was updated successfully, but these errors were encountered: