Request to advise error for python.
grant.b.edwards at gmail.com
Thu Oct 21 10:33:46 EDT 2021
On 2021-10-21, Mats Wichmann <mats at 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.
More information about the Python-list