Repository: erikbern/ann-benchmarks
Issue: List of tested platforms
Root cause: Environment Incompatibility

Do you have a list of platforms that install.py has been tested and verified on?

I've tried running on both OSX catalina and a fresh installation of Ubuntu 18.04, each with docker installed. Installation fails with errors on both platforms.

what exactly fails? it should work on most platforms

From a fresh checkout of the repository, this is the first error that I hit. The problem seems to be in install/Dockerfile. If I patch this (say by adding a line RUN apt-get install python3-matplotlib), more errors follow in this Dockerfile and then the implementation-specific Dockerfiles (all things such as missing headers, packages, or libraries, which cause the respective containers to fail out before building correctly).

```
eschkufz at ubuntu in ~/ann-benchmarks on master
$ python3 install.py 
Building base image...
Sending build context to Docker daemon  17.03MB
Step 1/7 : FROM ubuntu:latest
 ---> 1d622ef86b13
Step 2/7 : RUN apt-get update
 ---> Using cache
 ---> bddff95e6bbd
Step 3/7 : RUN apt-get install -y python3-numpy python3-scipy python3-pip build-essential git
 ---> Using cache
 ---> 4902b57157fb
Step 4/7 : WORKDIR /home/app
 ---> Using cache
 ---> fcef702448a4
Step 5/7 : COPY requirements.txt run_algorithm.py ./
 ---> Using cache
 ---> 5e12a4d61467
Step 6/7 : RUN pip3 install -rrequirements.txt
 ---> Running in dd82a3ebe415
Collecting ansicolors==1.1.8
  Downloading ansicolors-1.1.8-py2.py3-none-any.whl (13 kB)
Collecting docker==2.6.1
  Downloading docker-2.6.1-py2.py3-none-any.whl (117 kB)
Collecting h5py==2.7.1
  Downloading h5py-2.7.1.tar.gz (264 kB)
Collecting matplotlib==2.1.0
  Downloading matplotlib-2.1.0.tar.gz (35.7 MB)
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-w0jtfuei/matplotlib/setup.py'"'"'; __file__='"'"'/tmp/pip-install-w0jtfuei/matplotlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-w0jtfuei/matplotlib/pip-egg-info
         cwd: /tmp/pip-install-w0jtfuei/matplotlib/
    Complete output (79 lines):
    IMPORTANT WARNING:
        pkg-config is not installed.
        matplotlib may not be able to find some of its dependencies
...
```

this isn't really an issue with your environment (so the original question is a bit misdirected) but rather ubuntu inside docker. either way thanks to @yurymalkov this should be gone now!

(Fair enough on the title.)

Looks like it works. Thanks for the quick fix!

On Fri, May 29, 2020 at 10:20 AM Erik Bernhardsson <notifications@github.com>
wrote:

> this isn't really an issue with your environment (so the original question
> is a bit misdirected) but rather ubuntu inside docker. either way thanks to
> @yurymalkov <https://github.com/yurymalkov> this should be gone now!
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/erikbern/ann-benchmarks/issues/160#issuecomment-636089347>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAE3RLQPHJBIBCNMG2Z7SADRT7VHFANCNFSM4NNJXNFQ>
> .
>