RT
已经将python版本改为3.3.0
详细错误信息如下:
Bootstrapping dependencies for RedHat-based OSes... (you can skip this with --no-bootstrap)
yum is /usr/bin/yum
To use Certbot, packages from the EPEL repository need to be installed.
Enabling the EPEL repository in 3 seconds...[0K Enabling the EPEL repository in 2 seconds...[0K Enabling the EPEL repository in 1 second...
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirrors.sonic.net
* elrepo-kernel: elrepo.org
* extras: repos.lax.quadranet.com
* updates: repos.lax.quadranet.com
Package epel-release-6-8.noarch already installed and latest version
Nothing to do
yum is hashed (/usr/bin/yum)
To use Certbot, packages from the EPEL repository need to be installed.
Enabling the EPEL repository in 3 seconds...[0K Enabling the EPEL repository in 2 seconds...[0K Enabling the EPEL repository in 1 second...
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirrors.sonic.net
* elrepo-kernel: elrepo.org
* extras: repos.lax.quadranet.com
* updates: repos.lax.quadranet.com
Package epel-release-6-8.noarch already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirrors.sonic.net
* elrepo-kernel: elrepo.org
* extras: repos.lax.quadranet.com
* updates: repos.lax.quadranet.com
Package gcc-4.4.7-18.el6.i686 already installed and latest version
Package augeas-libs-1.0.0-10.el6.i686 already installed and latest version
Package openssl-1.0.1e-57.el6.i686 already installed and latest version
Package openssl-devel-1.0.1e-57.el6.i686 already installed and latest version
Package libffi-devel-3.0.5-3.2.el6.i686 already installed and latest version
Package redhat-rpm-config-9.0.3-51.el6.centos.noarch already installed and latest version
Package ca-certificates-2017.2.14-65.0.1.el6_9.noarch already installed and latest version
Package python-devel-2.6.6-66.el6_8.i686 already installed and latest version
No package python-virtualenv available.
Package python-tools-2.6.6-66.el6_8.i686 already installed and latest version
No package python-pip available.
Nothing to do
Creating virtual environment...
Installing Python packages...
Traceback (most recent call last):
File "/usr/bin/pip", line 6, in
from pkg_resources import load_entry_point
ImportError: No module named 'pkg_resources'
Traceback (most recent call last):
File "/tmp/tmp.TVY4dGB2WS/pipstrap.py", line 165, in
exit(main())
File "/tmp/tmp.TVY4dGB2WS/pipstrap.py", line 136, in main
pip_version = StrictVersion(check_output(['pip', '--version'])
File "/usr/local/python3/lib/python3.3/subprocess.py", line 584, in check_output
raise CalledProcessError(retcode, process.args, output=output)
subprocess.CalledProcessError: Command '['pip', '--version']' returned non-zero exit status 1
|