Giter Club home page Giter Club logo

Comments (11)

binary-husky avatar binary-husky commented on May 22, 2024

不正常,没见过这种情况。终端的traceback有吗

from gpt_academic.

something-19 avatar something-19 commented on May 22, 2024

edited

from gpt_academic.

binary-husky avatar binary-husky commented on May 22, 2024

这种情况我只能联想到代理服务器的问题 #41
另外注意截图私密信息打码,暴露了不好

from gpt_academic.

topple0610 avatar topple0610 commented on May 22, 2024

我也是同样的问题。一直是 write argument must be str
终端报错是:
image

from gpt_academic.

ShiJi001 avatar ShiJi001 commented on May 22, 2024

我也遇到了你这个问题,然后我尝试设置了代理服务器(原本没有在config里面设置,而是代理软件开全局),并且增加了时间和尝试次数之后就解决了。
` 发送请求到OpenAI后,等待多久判定为超时
TIMEOUT_SECONDS = 50

网页的端口, -1代表随机端口
WEB_PORT = -1

如果OpenAI不响应(网络卡顿、代理失败、KEY失效),重试的次数限制
MAX_RETRY = 5`

我怀疑问题的原因是代理网络不稳定。

from gpt_academic.

topple0610 avatar topple0610 commented on May 22, 2024

对的。。增加了响应时间问题就解决了~

from gpt_academic.

LiSonglin-xidian avatar LiSonglin-xidian commented on May 22, 2024

你好我clash使用的是全局代理,使用的是美国节点,然后config里面设置proxies = { "http": "127.0.0.1:7890", "https": "127.0.0.1:7890", } 超时判断以及重试次数也改了但是运行python check_proxy.py还是报错
网络代理状态:运行。
代理配置 127.0.0.1:7890, 代理所在地查询超时,代理可能无效
请问这这么改啊~

from gpt_academic.

something-19 avatar something-19 commented on May 22, 2024

woc,原来是因为config.py中设置API_KEY是在第一句,倒数第二行那里不用改。我说为什么 check_proxy.py通过,直接打开gpt网站没问题,但还是timeout。现在正常啦,参考#60

from gpt_academic.

something-19 avatar something-19 commented on May 22, 2024

你好我clash使用的是全局代理,使用的是美国节点,然后config里面设置proxies = { "http": "127.0.0.1:7890", "https": "127.0.0.1:7890", } 超时判断以及重试次数也改了但是运行python check_proxy.py还是报错 网络代理状态:运行。 代理配置 127.0.0.1:7890, 代理所在地查询超时,代理可能无效 请问这这么改啊~

clash没用过,可以参考 #1#9

from gpt_academic.

thudjx avatar thudjx commented on May 22, 2024

可以请问一下,大家是怎么给apikey续费的吗?官方不接受**的信用卡支付,我彻底没招了😂

from gpt_academic.

something-19 avatar something-19 commented on May 22, 2024

可以请问一下,大家是怎么给apikey续费的吗?官方不接受**的信用卡支付,我彻底没招了😂

一般都是申请虚拟信用卡,通过币平台什么的,网上搜一下gpt api充值教程,充值方式是一样的

from gpt_academic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.