EDIT: Submitted pull request to fix the issue
Hello, I'm getting an error when doing:
docker build -t quantopian/zipline https://github.com/quantopian/zipline.git
I think it's trying to install Pytables=3.6, which is incompatible with Python=3.5.
...
Collecting tables>=3.4.3
Downloading https://files.pythonhosted.org/packages/fb/b6/f7128895d328f64e52f61fbb39c03a458f8b583724705bddae392a1085a0/tables-3.6.0.tar.gz (7.8MB)
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-6hi4mdzk/tables/setup.py'"'"'; __file__='"'"'/tmp/pip-install-6hi4mdzk/tables/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-6hi4mdzk/tables/pip-egg-info
cwd: /tmp/pip-install-6hi4mdzk/tables/
Complete output (15 lines):
/tmp/H5closet9s5v_jk.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
main (int argc, char **argv) {
^~~~
/tmp/H5closet9s5v_jk.c: In function ‘main’:
/tmp/H5closet9s5v_jk.c:2:5: warning: implicit declaration of function ‘H5close’ [-Wimplicit-function-declaration]
H5close();
^~~~~~~
/usr/bin/ld: cannot find -lhdf5
collect2: error: ld returned 1 exit status
* Using Python 3.5.7 (default, Oct 17 2019, 07:04:41)
* USE_PKGCONFIG: True
.. ERROR:: Could not find a local HDF5 installation.
You may need to explicitly state where your local HDF5 headers and
library can be found by setting the ``HDF5_DIR`` environment
variable or by using the ``--hdf5`` command-line option.
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
I already have a conda environment with Zipline installed. I tried installing zipline through pipenv in a virtual environment with python 3.5 and I had the same error message. However, if the virtual environment uses python 3.6, the install works.
I'm using Windows 10.
Thanks,
Eduardo Peynetti