On 2021-10-23 14:53, tommy yama wrote:
It seems you use windows to install.


Then, you need conda. Pip works for Linux.

On Windows, 'conda' is for the Anaconda version of Python. If you're using the standard version of Python from python.org you use pip or, preferably, py -m pip.

Check this out.
https://numpy.org/install/


On Thu, Oct 21, 2021, 11:35 PM Grant Edwards <grant.b.edwa...@gmail.com>
wrote:

On 2021-10-21, Mats Wichmann <m...@wichmann.us> wrote:

> There are some nuances.  If you are on a Linux system, Python is a
> system program and you don't want to try to install into system
> locations (you'll run into permission problems anyway), so trying a user
> install is useful.  So:
>
> pip install --user numpy
>
> In fact, if you're on a Linux system you *may* prefer to install the
> packaged versions - use the appropriate package manager commands.

Not all systems have a 'pip' executable. If a 'pip' exectuable does
exist, it might not be the same version as your defualt python
executable. It's usually a better idea to do it this way:

 $ python -m pip install --user numpy

That said, if you're on Linux system, you're almostg always better off
using your distro's package manger to install numpy.

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to