-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
AttributeError: module 'openai' has no attribute 'error' #1564
Labels
bug
Something isn't working
Comments
I tried this on archlinux and facing exactly same issue using same procedure defined above. Also, I'm unable to use File: import evals On running this script via (venv) apple@apples-MacBook-Pro test1 % python one.py
Traceback (most recent call last):
File "/Users/apple/Documents/github_repos/test1/one.py", line 1, in <module>
import evals
File "/Users/apple/Documents/github_repos/test1/venv/lib/python3.13/site-packages/evals/__init__.py", line 2, in <module>
from .completion_fns.openai import (
...<3 lines>...
)
File "/Users/apple/Documents/github_repos/test1/venv/lib/python3.13/site-packages/evals/completion_fns/openai.py", line 13, in <module>
from evals.utils.api_utils import (
...<2 lines>...
)
File "/Users/apple/Documents/github_repos/test1/venv/lib/python3.13/site-packages/evals/utils/api_utils.py", line 12, in <module>
openai.error.ServiceUnavailableError,
^^^^^^^^^^^^
AttributeError: module 'openai' has no attribute 'error' Thanks. |
This was referenced Oct 18, 2024
Any updates on this? I'm facing the same issue. |
13 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
pip --version
pip 24.2 from /Users/apple/Documents/github_repos/test1/venv/lib/python3.13/site-packages/pip (python 3.13)
I am getting this error:
To Reproduce
Code snippets
No response
OS
sequioa 15.0.1 (24A348)
Python version
Python 3.13.0
Library version
latest
The text was updated successfully, but these errors were encountered: