I'm a full-stack programmer(Yige), 📚 having fun with AI Agent. Always learning.
My Blog: https://www.wyr.me
ChatGPT API for https://github.com/yi-ge/chatgpt-web.
Home Page: https://github.com/yi-ge/chatgpt-web
License: MIT License
I'm a full-stack programmer(Yige), 📚 having fun with AI Agent. Always learning.
My Blog: https://www.wyr.me
[OpenAI][8][CRITICAL] Access Token: Not found Auth0 did not issue an access token.
[OpenAI][9] Attempting to get access token from: https://chat.openai.com/api/auth/session
[OpenAI][9] Access Token: Not found, Please try again with a proxy (or use a new proxy if you are using one)
Failed to create access token.
how to solve this?
[root@dbci chatgpt-api]# python3 main.py [OpenAI] Email address: eco*****@gmail.com [OpenAI] Password: er******* [OpenAI] Beginning auth process [OpenAI][1] Making request to https://chat.openai.com/auth/login Traceback (most recent call last): File "main.py", line 42, in <module> options=options) File "/home/wwwroot/chatgpt-api/PyChatGPT/src/pychatgpt/main.py", line 50, in __init__ self._setup() File "/home/wwwroot/chatgpt-api/PyChatGPT/src/pychatgpt/main.py", line 139, in _setup self._create_access_token() File "/home/wwwroot/chatgpt-api/PyChatGPT/src/pychatgpt/main.py", line 157, in _create_access_token openai_auth.create_token() File "/home/wwwroot/chatgpt-api/PyChatGPT/src/pychatgpt/classes/openai.py", line 133, in create_token raise Exceptions.Auth0Exception("Failed to make the first request, Try that again!") PyChatGPT.src.pychatgpt.classes.exceptions.Auth0Exception: Failed to make the first request, Try that again!
登录报错。
[root@dbci chatgpt-api]# python3 main.py
Traceback (most recent call last):
File "main.py", line 12, in
from PyChatGPT.src.pychatgpt import Chat, Options
ModuleNotFoundError: No module named 'PyChatGPT.src'
[root@dbci chatgpt-api]# python3 -V
Python 3.7.8
求助。bt:
Traceback (most recent call last):
File "main.py", line 40, in <module>
email_chat_map[email] = Chat(email=email,
File "/home/ubuntu/repo/chatgpt-api/PyChatGPT/src/pychatgpt/main.py", line 50, in __init__
self._setup()
File "/home/ubuntu/repo/chatgpt-api/PyChatGPT/src/pychatgpt/main.py", line 139, in _setup
self._create_access_token()
File "/home/ubuntu/repo/chatgpt-api/PyChatGPT/src/pychatgpt/main.py", line 157, in _create_access_token
openai_auth.create_token()
File "/home/ubuntu/repo/chatgpt-api/PyChatGPT/src/pychatgpt/classes/openai.py", line 131, in create_token
self._part_two()
File "/home/ubuntu/repo/chatgpt-api/PyChatGPT/src/pychatgpt/classes/openai.py", line 157, in _part_two
self._part_three(token=csrf_token)
File "/home/ubuntu/repo/chatgpt-api/PyChatGPT/src/pychatgpt/classes/openai.py", line 190, in _part_three
self._part_four(url=url)
File "/home/ubuntu/repo/chatgpt-api/PyChatGPT/src/pychatgpt/classes/openai.py", line 218, in _part_four
self._part_five(state=state)
File "/home/ubuntu/repo/chatgpt-api/PyChatGPT/src/pychatgpt/classes/openai.py", line 260, in _part_five
self._part_six(state=state, captcha=captcha_input)
File "/home/ubuntu/repo/chatgpt-api/PyChatGPT/src/pychatgpt/classes/openai.py", line 301, in _part_six
raise Exceptions.Auth0Exception("[OpenAI][6] Email not found, Check your email address and try again!")
PyChatGPT.src.pychatgpt.classes.exceptions.Auth0Exception: [OpenAI][6] Email not found, Check your email address and try again!
检查了变量,email 设置过。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.