You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new PyPI package fails with a circular import.
In 3.12.3 after pip install bonito-llm, running the demo on the Readme yields:
(312-venv) bgue@29J55349:~/devel$ python bonito.py
Traceback (most recent call last):
File "/home/bgue/devel/bonito.py", line 1, in <module>
from bonito import Bonito
File "/home/bgue/devel/bonito.py", line 1, in <module>
from bonito import Bonito
ImportError: cannot import name 'Bonito' from partially initialized module 'bonito' (most likely due to a circular import) (/home/bgue/devel/bonito.py)
(312-venv) bgue@29J55349:~/devel$ python
Python 3.12.3 (main, Jan 17 2025, 18:03:48) [GCC 13.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import bonito
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/bgue/devel/bonito.py", line 1, in <module>
from bonito import Bonito
ImportError: cannot import name 'Bonito' from partially initialized module 'bonito' (most likely due to a circular import) (/home/bgue/devel/bonito.py)
>>>
The text was updated successfully, but these errors were encountered:
The new PyPI package fails with a circular import.
In 3.12.3 after
pip install bonito-llm
, running the demo on the Readme yields:The text was updated successfully, but these errors were encountered: