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
Not sure if you encountered this but when I created a new conda env (defaulted to Python 3.11) and installed instrukt, I got an error running it due to this known bug with older versions of wrapt: GrahamDumpleton/wrapt#196
instrukt is currently using wrapt-1.13.3, looks like it's fixed in 1.14.0 so I just upgraded wrapt to the latest version (1.15.0) now.
After I got a second error:
/home/lhl/mambaforge/envs/test/lib/python3.11/site-packages/chromadb/segment/impl/vector/local_persistent_hnsw.py", line 405, in get_file_handle_count
hnswlib_count = hnswlib.Index.file_handle_count
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'hnswlib.Index' has no attribute 'file_handle_count'
@lhl I updated the dependencies and made an explicit requirement on wrapt. Tested on 3.10 and 3.11 and seems working fine now. Let me know if the latest 0.6.3 fixes the issue for you as well. Note that g++ is required to compile chroma-hnswlib
Not sure if you encountered this but when I created a new conda env (defaulted to Python 3.11) and installed instrukt, I got an error running it due to this known bug with older versions of wrapt: GrahamDumpleton/wrapt#196
instrukt is currently using wrapt-1.13.3, looks like it's fixed in 1.14.0 so I just upgraded wrapt to the latest version (1.15.0) now.
After I got a second error:
Apparently also known bugs:
Solution was to make sure
chromadb
andchroma-hnswlib
were updated and to uninstallhnswlib
Once these two issues were fixed, I was able to run w/ Python 3.11. If I installed an env w/ python=3.10, it ran OOTB.
The text was updated successfully, but these errors were encountered: