我坚持在我的 redhat6 上安装 python2.7 ,它安装了默认的 python 2.6 。还搜索了很多安装“ createrepo ”所需的“ python-deltarpm ”和“ deltarpm ”存储库,但没有找到。我从 dvd 和https://www.tecmint.com/how-to-enable-epel-repository-for-rhel-centos-6-5/添加了 repo ,yum repolist给出了repolist: 11,960。我想使用 python2.7安装pip & virtualenv。
明白了...我安装了python2.7如下
cd /usr/src
wget https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tgz
tar xzf Python-2.7.13.tgz
cd Python-2.7.13
./configure
make altinstall
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句