Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac OSX 10.13 always get installing Zipline stuck #2016

Closed
burkaslarry opened this issue Nov 16, 2017 · 10 comments
Closed

Mac OSX 10.13 always get installing Zipline stuck #2016

burkaslarry opened this issue Nov 16, 2017 · 10 comments

Comments

@burkaslarry
Copy link

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

@burkaslarry
Copy link
Author

screenshot 2017-11-16 22 47 54

screenshot 2017-11-16 22 48 00

screenshot 2017-11-16 22 48 47

while pip install --verbose zipline

@richafrank
Copy link
Member

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.

@burkaslarry
Copy link
Author

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 ... /

@burkaslarry
Copy link
Author

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 " \
     ^

@burkaslarry
Copy link
Author

The module is building 'zipline.assets.continuous_futures' extension

@richafrank
Copy link
Member

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.

@burkaslarry
Copy link
Author

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

@richafrank
Copy link
Member

I buy that - probably a best practice to install numpy and cython before installing zipline. Opened a PR.

@oxbits
Copy link

oxbits commented Jul 1, 2018

pip install numpy cython

did the trick per @richafrank, thank you!

@jdricklefs
Copy link
Member

Looks like this one has long since been resolved. Feel free to reopen if you're still having trouble!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants