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

为什么下载的代码不加代理就无法运行 #44

Closed
rui12366B opened this issue Mar 28, 2023 · 0 comments
Closed

为什么下载的代码不加代理就无法运行 #44

rui12366B opened this issue Mar 28, 2023 · 0 comments

Comments

@rui12366B
Copy link

Traceback (most recent call last):
File "D:\chatgpt_academic-master\predict.py", line 12, in
try: from config_private import proxies, API_URL, API_KEY, TIMEOUT_SECONDS, MAX_RETRY, LLM_MODEL
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'config_private'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\chatgpt_academic-master\main.py", line 3, in
from predict import predict
File "D:\chatgpt_academic-master\predict.py", line 13, in
except: from config import proxies, API_URL, API_KEY, TIMEOUT_SECONDS, MAX_RETRY, LLM_MODEL
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\chatgpt_academic-master\config.py", line 29
assert , "请在config文件中修改API密钥, 添加海外代理之后再运行"
^
SyntaxError: invalid syntax

@binary-husky binary-husky added invalid This doesn't seem right and removed invalid This doesn't seem right labels Mar 28, 2023
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