microsoft / microsoft/OptiGuide
AttributeError: module 'eventlet' has no attribute 'getcurrent'
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 713
- Forks
- 127
- PR merge metrics
- No merged PRs in 30d
Description
I'm running the example notebook provided as it it. I'm using standard OpenAI not Azure based one. Below is my OAI_CONFIG_LIST.
I'm getting the error:
AttributeError: module 'eventlet' has no attribute 'getcurrent'
APIConnectionError: Connection error.
The source code for the APIConnectionError is in /site-packages/openai/_base_client.py
Does it work only with Azure OpenAI?
[
{
"model": "gpt-4o",
"api_key": api_key
}
]
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the example notebook with the shown OAI_CONFIG_LIST, then inspect its setup and /site-packages/openai/_base_client.py around the reported eventlet failure. Done means the standard OpenAI configuration runs without the reported connection error, or the supported configuration and limitation are clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, python
- Domain
- ai, api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100