Sujet : Re: Couldn't install numpy on Python 2.7
De : oscar.j.benjamin (at) *nospam* gmail.com (Oscar Benjamin)
Groupes : comp.lang.pythonDate : 12. Jun 2024, 23:56:49
Autres entêtes
Message-ID : <mailman.125.1718233023.2909.python-list@python.org>
References : 1 2 3 4 5 6 7
On Wed, 12 Jun 2024 at 23:52, Greg Ewing via Python-list
<
python-list@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