demo.py报错
LikeFlyingPanda opened this issue · comments
Fly__Panda commented
Describe the bug 描述bug
发生异常: TypeError
ConnectionPool.init() got an unexpected keyword argument 'socket_options'
File "chatgpt-api.py", line 8, in
client = OpenAI(
TypeError: ConnectionPool.init() got an unexpected keyword argument 'socket_options'
Tools or Programming Language 使用的工具或编程语言
python
vscode
ynpl commented
TypeError: ConnectionPool.init() got an unexpected keyword argument 'socket_options'
检查下自己代码
ChatAnywhere commented
应该是你的网络原因导致