Skip to content
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

Getting `ImportError: cannot import name 'AsyncStream' #85

Closed
irom77 opened this issue May 6, 2024 · 1 comment
Closed

Getting `ImportError: cannot import name 'AsyncStream' #85

irom77 opened this issue May 6, 2024 · 1 comment

Comments

@irom77
Copy link

irom77 commented May 6, 2024

Getting

ImportError: cannot import name 'AsyncStream' from partially initialized module 'openai' (most likely due to a circular import) (E:\JupyterNotebooks\openui\backend\openui\openai.py)

Tried python -m pip install openai --upgrade but it didn't help. Using Python 3.11.8

@vanpelt
Copy link
Contributor

vanpelt commented May 8, 2024

Ahh, be sure to run the code from the backend directory. You'll get this error if you run in a directory that has a one office or die named openai

@vanpelt vanpelt closed this as completed May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants