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

Most likely due to a circular import #13

Open
derevyan opened this issue May 24, 2024 · 0 comments
Open

Most likely due to a circular import #13

derevyan opened this issue May 24, 2024 · 0 comments

Comments

@derevyan
Copy link

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)

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

1 participant