Installing python3 packages using pip
On Fri, Aug 9, 2019 at 4:02 AM Rich Shepard <rshepard at appl-ecosys.com> wrote:
> On Thu, 8 Aug 2019, Richard Moseley wrote:
> > You will need to have to install python3-pip (or equivalent on your
> > repository) to install the version of pip suitable for use with python 3.x.
> > The program is usually installed as 'pip3' so substitute 'pip' for 'pip3'
> > to install or upgrade Pypy packages.
> Python3-3.7.x includes pip3. And I upgraded it using 'pip3 install --upgrade
> pip' so it's at the current release.
> However, I still cannot install numpy3:
> # pip3 install numpy3
> Collecting numpy3
> ERROR: Could not find a version that satisfies the requirement numpy3 (from versions: none)
> ERROR: No matching distribution found for numpy3
> I'm open to all advice and learning how to install numpy3 so I can also
> install packages requiring it.
Once you're using pip3, you don't need to specify the 3 anywhere else.
It should just be "pip3 install numpy". The pip download resolver will
make sure that it gets a version that's appropriate to your Python
(including architecture/word size, version (x.y), etc, etc).