Request to advise error for python.
bluebox03 at gmail.com
Sun Oct 24 02:45:15 EDT 2021
Thank you MRAB.
As somebody mentioned before, the easiest solution is you can do pip
install before typing python.
That would work.
On Sun, Oct 24, 2021 at 12:00 AM MRAB <python at mrabarnett.plus.com> wrote:
> 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.edwards at gmail.com>
> > wrote:
> >> 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
> >> > 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