Most likely due to a circular import
Opened this issue · 0 comments
derevyan commented
Great project idea!
poetry add fastui-chat
Using version ^0.3.4 for fastui-chat
Updating dependencies
Resolving dependencies... (4.3s)
Package operations: 9 installs, 0 updates, 0 removals
- Installing dnspython (2.6.1)
- Installing email-validator (2.1.1)
- Installing docstring-parser (0.16)
- Installing jinja2 (3.1.4)
- Installing pydantic-settings (2.2.1)
- Installing python-multipart (0.0.9)
- Installing fastui (0.6.0)
- Installing funcchain (0.3.3)
- Installing fastui-chat (0.3.4)
LOG_LEVEL="DEBUG" python playground/fastui_chat.py Traceback (most recent call last): File "/Users/derevo/MEV.nosync/SANTA/GIT/ECU/HOMA/playground/fastui_chat.py", line 1, in <module> from fastui_chat import ChatUI File "/Users/derevo/MEV.nosync/SANTA/GIT/ECU/HOMA/playground/fastui_chat.py", line 1, in <module> from fastui_chat import ChatUI ImportError: cannot import name 'ChatUI' from partially initialized module 'fastui_chat' (most likely due to a circular import)