Couldn't install numpy on Python 2.7

Oscar Benjamin oscar.j.benjamin at gmail.com
Wed Jun 12 18:56:49 EDT 2024


On Wed, 12 Jun 2024 at 23:52, Greg Ewing via Python-list
<python-list at python.org> wrote:
> On 13/06/24 10:09 am, Chris Angelico wrote:
>  > So if anyone
>  > actually does need to use pip with Python 2.7, they probably need to
>  > set up a local server
>
> You should also be able to download a .tar.gz from PyPI and use pip
> to install that. Although you'll have to track down the dependencies
> yourself in that case.

It is almost certainly better to download the wheel (.whl) file rather
than the sdist (.tar.gz) file. Building NumPy from source needs not
just compilers etc but also you first need to build/install a BLAS
library.

--
Oscar


More information about the Python-list mailing list