编译Python 3.4不是复制pip [英] Compiling Python 3.4 is not copying pip
问题描述
我已经从Linux Mint的源代码编译了Python 3.4,但由于某些原因,它不会将 刚刚排序。这里是如何从源编译python。 如果您得到Ignoring ensurepip failure:pip 1.5.4 requires SSL / TLS错误: 看到pip被复制到目标文件夹, I have compiled Python 3.4 from the sources on Linux Mint, but for some reason it is not copying Any ideas? Just sorted it out. Here it is how to compile python from the sources. If you get "Ignoring ensurepip failure: pip 1.5.4 requires SSL/TLS" error: As you can see pip is copied into target folder, the 这篇关于编译Python 3.4不是复制pip的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋! pip
复制到其最终的编译文件夹(
$ ./configure --prefix = / home / user /编译/ python3.4_dev --with-ensurepip = install
$ make
$ make install
$ b b
$ sudo apt -get install libssl-dev openssl
$ ls
2to3 idle3 pip3.5 python3 python3.5m pyvenv
2to3-3.5 idle3.5 pydoc3 python3.5 python3.5m-config pyvenv-3.5
easy_install-3.5 pip3 pydoc3.5 python3.5-config python3-config
- with-ensurepip = install
很重要。pip
to its final compiled folder (after the make install
).$ ./configure --prefix=/home/user/sources/compiled/python3.4_dev --with-ensurepip=install
$ make
$ make install
$ sudo apt-get install libssl-dev openssl
$ ls
2to3 idle3 pip3.5 python3 python3.5m pyvenv
2to3-3.5 idle3.5 pydoc3 python3.5 python3.5m-config pyvenv-3.5
easy_install-3.5 pip3 pydoc3.5 python3.5-config python3-config
--with-ensurepip=install
is important.