pythonz icon indicating copy to clipboard operation
pythonz copied to clipboard

building with pip module (python >=3.4)

Open maxthomas opened this issue 6 years ago • 1 comments

how would i go about building python3 with the pip module enabled, like it is by default on the distributed versions?

should this be the default?

maxthomas avatar Jul 24 '19 17:07 maxthomas

I think it is the default

# pythonz install 3.4.0
Downloading Python-3.4.0.tgz as /usr/local/pythonz/dists/Python-3.4.0.tgz
########################################################################## 100%
Extracting Python-3.4.0.tgz into /usr/local/pythonz/build/CPython-3.4.0

This could take a while. You can run the following command on another shell to track the status:
  tail -f /usr/local/pythonz/log/build.log

Installing CPython-3.4.0 into /usr/local/pythonz/pythons/CPython-3.4.0

Installed CPython-3.4.0 successfully.
# `pythonz locate 3.4.0` -mpip --version
pip 1.5.4 from /usr/local/pythonz/pythons/CPython-3.4.0/lib/python3.4/site-packages (python 3.4)
# `pythonz locate 3.4.0` -mpip install -U pip
# `pythonz locate 3.4.0` -mpip --version
pip 19.2.1 from /usr/local/pythonz/pythons/CPython-3.4.0/lib/python3.4/site-packages/pip (python 3.4)

Even if pip is not installed, you can install it via python -mensurepip, or follow the instructions provided by the link you attached above.

ifduyue avatar Jul 25 '19 05:07 ifduyue