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

duckduckgo_search这个用不了,能换其他的么 #14

Open
EvilCalf opened this issue Apr 24, 2023 · 3 comments
Open

duckduckgo_search这个用不了,能换其他的么 #14

EvilCalf opened this issue Apr 24, 2023 · 3 comments

Comments

@EvilCalf
Copy link

web搜索功能,谢谢

@jiangliqin
Copy link

我也用不了,请问有平替方案吗?

@wusongbai139
Copy link

我也遇到报错了:
(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)

@wusongbai139
Copy link

已经解决,安装duckduckgo_search的2023年的4月份的版本就行

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

3 participants