-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
deepseek的API还是会报错哎 #696
Comments
Authentication Fails (no such user) |
可以访问,余额充足,apikey正确
…---原始邮件---
发件人: ***@***.***>
发送时间: 2025年2月27日(周四) 上午9:28
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [Byaidu/PDFMathTranslate] deepseek的API还是会报错哎 (Issue #696)
Authentication Fails (no such user)
确认一下deepseek你真的能访问吗?这里提示可是没有该用户呀?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
hellofinch left a comment (Byaidu/PDFMathTranslate#696)
Authentication Fails (no such user)
确认一下deepseek你真的能访问吗?这里提示可是没有该用户呀?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
我一开始使用deepseek也有问题,然后pip install --upgrade pdf2zh之后就可以了。
from openai import OpenAI client = OpenAI(api_key="", base_url="https://api.deepseek.com") response = client.chat.completions.create( print(response.choices[0].message.content)` 如果是正常的话就会输出: |
不过感觉目前deepseek的API还是很慢,可能用的人太多了 |
아마도 서버 문제일겁니다 |
네, 그럴 것 같습니다. |
Before you asking
Environment
Describe the bug
deepseek开放API充值了,但是发现现在使用deepseek的API会报错:Error code: 401 - {'error': {'message': 'Authentication Fails (no such user)', 'type': 'authentication_error', 'param': None, 'code': 'invalid_request_error'}}
To Reproduce
Expected behavior
No response
Relevant log output
Origin PDF file
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: