Compiling Python 3.4 is not copying pip

前端 未结 3 1480
说谎
说谎 2020-12-30 20:44

I have compiled Python 3.4 from the sources on Linux Mint, but for some reason it is not copying pip to its final compiled folder (after the make install<

3条回答
  •  滥情空心
    2020-12-30 21:30

    According to PEP 453 -- Explicit bootstraping of pip in Python installation:

    Installing from source

    Just as the prebuilt binary installers will be updated to run python -m ensurepip by default, a similar change will be made to the make install and make altinstall commands of the source distribution. The directory settings in the sysconfig module should ensure the pip components are automatically installed to the expected locations.

    After installing from source code, I found that pip3.4 is put in the destination. (No pip nor pip3)

提交回复
热议问题