Mac OSX 10.13 always get installing Zipline stuck
Dear Zipline Maintainers,
I need help on installation 1 Always stuck on
Using cached zipline-1.1.1.tar.gz
pip installed as 8.1.0
while pip install --verbose zipline
Hi @burkaslarry , I've definitely seen slowness while setuptools is easy_installing setup dependencies. Maybe it's progressing but slowly?
Either way, want to try pip install numpy cython first, and then try pip install zipline after? Then it can avoid the easy_install.
Usually how long does it take for setup.py to be finished ? I have tried using verbose, got repeating numpy warnings
Installing collected packages: zipline
Running setup.py install for zipline ... /
like this one. repeatedly
_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by " \
^
1 warning generated.
In file included from zipline/assets/_assets.c:526:
In file included from /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/numpy/core/include/numpy/ndarraytypes.h:1809:
/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by " \
^
The module is building 'zipline.assets.continuous_futures' extension
Usually how long does it take for setup.py to be finished ?
I don't have any broad stats, but on my machine, it took about 2 minutes just now.
Maybe we have to tell others installing by these steps : (Mac OSX 10.13.1)
pip install -upgrade pip python -m pip brew update ram get stable rvm install 1.9.3 pip install numpy pip install cython pip install -U setuptools pip install h5py pip install zipline
I buy that - probably a best practice to install numpy and cython before installing zipline. Opened a PR.
pip install numpy cython
did the trick per @richafrank, thank you!
Looks like this one has long since been resolved. Feel free to reopen if you're still having trouble!