ensurepip

Pavol Lisy pavol.lisy at gmail.com
Wed Jun 14 01:00:13 EDT 2017


$ python3 -m ensurepip
/usr/bin/python3: No module named ensurepip

But maybe this help to understand:

$ python -m ensurepip
ensurepip is disabled in Debian/Ubuntu for the system python.

Python modules For the system python are usually handled by dpkg and apt-get.

    apt-get install python-<module name>

Install the python-pip package to use pip itself.  Using pip together
with the system python might have unexpected results for any system installed
module, so use it on your own risk, or make sure to only use it in virtual
environments.


On 6/14/17, Steven D'Aprano <steve at pearwood.info> wrote:
> ensurepip is added in Python 3.4:
>
> https://docs.python.org/3/library/ensurepip.html
>
>
> But:
>
> root at runes:~# python3.4 -m ensurepip
> /usr/bin/python3.4: No module named ensurepip
>
>
>
> Any clues on what is going on or how to diagnose this?
>
>
>
>
> --
> Steve
> --
> https://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list