erikbern / ann-benchmarks

Benchmarks of approximate nearest neighbor libraries in Python
http://ann-benchmarks.com
MIT License
4.73k stars 716 forks source link

Could not find a version that satisfies the requirement scann (from versions: none) #439

Open siddhsql opened 12 months ago

siddhsql commented 12 months ago

I am trying to build a docker image for the scann algorithm like this on a Mac:

% docker build . -f ann_benchmarks/algorithms/scann/Dockerfile -t ann-benchmarks/scann

I understand the scann library only works on Linux (why?) - that's why I am using docker for mac which spins up a linux VM. i see this in docker output:

[+] Building 1.2s (6/7)                                           docker:desktop-linux

but then i get this error:

 > [3/4] RUN pip3 install scann:
0.389 ERROR: Could not find a version that satisfies the requirement scann (from versions: none)
0.389 ERROR: No matching distribution found for scann
------
Dockerfile:4
--------------------
   2 |
   3 |     RUN pip3 install --upgrade pip
   4 | >>> RUN pip3 install scann
   5 |     RUN python3 -c 'import scann'
   6 |