git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Installing python3 packages using pip


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.
Of course, if possible always create a new 'venv' and install the packages
in there instead of the system, it avoids polluting the environment and
makes it easier to tidy up unwanted packages at a later stage.

Hope this helps, Richard Moseley.


On Thu, 8 Aug 2019 at 16:03, Rich Shepard <rshepard at appl-ecosys.com> wrote:

> The host has Python3-3.7.4 installed. Trying to use "pip install numpy3"
> fails:
>
> # pip install numpy3
> DEPRECATION: Python 2.7 will reach the end of its life on January 1st,
> 2020.
> Please upgrade your Python as Python 2.7 won't be maintained after that
> date. A future version of pip will drop support for Python 2.7. More
> details
> about Python 2 support in pip, can be found at
> https://pip.pypa.io/en/latest/development/release-process/#python-2-support
>
> Collecting numpy3
>    ERROR: Could not find a version that satisfies the requirement numpy3
> (from versions: none)
> ERROR: No matching distribution found for numpy3
>
> How do I install numpy3, python3-matplotlib, and scipy3 using PIP?
>
> Rich
>
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>