wandb / openui

OpenUI let's you describe UI using your imagination, then see it rendered live.
https://openui.fly.dev
Apache License 2.0
18.86k stars 1.73k forks source link

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

Closed irom77 closed 4 months ago

irom77 commented 4 months ago

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 commented 4 months ago

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