Skip to content

代理软件问题的新手解决方法(方法只适用于新手)

binary-husky edited this page Mar 16, 2024 · 16 revisions

代理软件问题的新手解决方法(方法只适用于新手,可能会对非新手产生误导)

视频教程: https://www.bilibili.com/video/BV1rc411W7Dr

1、首先确保电脑能科学上网,能打开谷歌学术等网站

image

2、Windows控制面板 --> 打开Internet选项(Control Panel > Network and Internet > Internet Options)

image

3、如图,打开connections选项卡,点进去LAN settings

image

4、Proxy Server上一栏的√是应该是“勾上”的状态;如果是没勾上的状态就出问题了,你自己勾是没用的;请回到第1步,确保能够科学上网之后,这个√才会处于勾上的状态。

(如果确实没勾上,但却能科学上网,可能在用vpn?目前比较vpn科学上网比较少见,vpn问题汇总https://github.com/binary-husky/chatgpt_academic/issues/281

image

5、复制Address和Port。填写到config.py(别忘了修改USE_PROXY为True)

修改前

image

修改后

image

6、运行python main.py,检查代理信息是否生效

image image

7、测试

image

8、如果你的openai账户没额度了会出现这个,这个只能你自己解决啦

"error": { "message": "You exceeded your current quota, please check your plan and billing details.", "type": "insufficient_quota", "param": null, "code": null }}

在这里查看剩余额度 https://platform.openai.com/account/usage

image

8、没有代理也可以自行用云函数等方式,搭建自己的专属跳板(需要对云服务器有深入了解)

讨论

Clone this wiki locally