Closed Hrovatin closed 1 year ago
Can you try pip install hnswlib
by itself to see if you can reproduce the error? If you still get an error, please try uninstall numpy first and then rerunning pip install hnswlib
.
I resolved the issue with installing hnswlib
by changing the tmpdir for pip install since we apparently did not have exec
permissions on the /tmp dir which was used by default.
TMPDIR=/localscratch/$USER/tmpconda pip install hnswlib
I tried to install SAMap, but it fails due to numpy import. When I open python in the conda env and make the same import it works, so I was wondering if this may be something specific to SAMap intall rather than whole env. I also tried multiple things suggested to fix the numpy error (checking versions, re-creating env, ...), but it did not work.
Install SAMap
Import numpy (and use the lines that erro out in setup) in python in the same env