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
pip install lifetimes - throwing error and unable to install packages #70192
Comments
Not able to install "lifetimes" package using pip script. Followed the following links for help, but still no success |
Since you're on Python 3.5, you'll need Visual Studio 2015 to build extensions. However, since the extension in question is numpy, you'll need to find prebuilt binaries since you won't be able to compile it yourself just yet. I believe Continuum has builds for 3.5 in Anaconda now. |
You can build NumPy with only a C compiler, but it won't have accelerated BLAS/LAPACK. However, lifetimes requires SciPy, which in turn requires Fortran. This is a common requirement with a lot of the scientific-computing stack, so you may as well choose a complete solution such as Anaconda. That said, if you just need a few packages, then Christoph Gohlke provides an extensive collection of wheels 1. For example, I have a directory with the following wheels downloaded from Christoph's site:
I'll test installing lifetimes and matplotlib in a virtual environment:
The command-line option "-f directory" makes pip look for packages in a local directory:
|
Debashish: questions on using pip should be directed to python-list, also accessible as newsgroup gmane.comp.python.general at news.gmane.org. pip is otherwise maintained separately from CPython and has its own bug-reporting system. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: