Voyager icon indicating copy to clipboard operation
Voyager copied to clipboard

pip install failed about hnswlib in Macos

Open go-maple opened this issue 1 year ago • 3 comments

Try to use export HNSWLIB_NO_NATIVE=1 before the pip install.

go-maple avatar May 27 '23 15:05 go-maple

That didn't work for me - the root problem is a long-running bug in chardet itself and Python 3.11

Replace cchardet in the requirements.txt file with faust-cchardet, which appears to have been created as a workaround until they can figure out who maintains cchardet

ProjectAtlantis-dev avatar May 27 '23 19:05 ProjectAtlantis-dev

I fixed this (on ubuntu 20.04) by installing python3.9-dev

apirrone avatar May 29 '23 13:05 apirrone

I fixed this by installing python 3.9 on windows 11 as well

MatthewPDingle avatar May 29 '23 23:05 MatthewPDingle

The issue will be closed due to a lack of activity, feel free to reopen it if you would like to continue the discussion.

xieleo5 avatar May 31 '23 06:05 xieleo5

I had the same problem on Windows11 with Python 3.11 as a Conda environment. Python 3.10 worked for me

ERROR: Could not build wheels for cchardet, which is required to install pyproject.toml-based projects

Sohojoe avatar Jun 14 '23 00:06 Sohojoe