添加ssl时出现了问题
Creating virtual environment...Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/virtualenv.py", line 2363, in <module>
main()
File "/usr/lib/python3/dist-packages/virtualenv.py", line 719, in main
symlink=options.symlink)
File "/usr/lib/python3/dist-packages/virtualenv.py", line 988, in create_environment
download=download,
File "/usr/lib/python3/dist-packages/virtualenv.py", line 918, in install_wheel
call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
File "/usr/lib/python3/dist-packages/virtualenv.py", line 812, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /root/.local/share/letsencrypt/bin/python2.7 - setuptools pkg_resources pip wheel failed with error code 2
Let's Encrypt SSL Certificate create failed!
pip是python2的
root@VM-12-73-ubuntu:/usr/bin# pip -V
pip 9.0.1 from /usr/local/lib/python2.7/dist-packages (python 2.7)
换成python3还是不行
[ 本帖最后由 ztcaoll222 于 2017-1-17 21:00 编辑 ] 不大清楚具体原因,你python默认版本是哪个,你rm -rf /root/.local/share/letsencrypt/ 后再试试
回复 2# 的帖子
换成centos 7.2 就没问题了,半解决默认是2.7
root@VM-12-73-ubuntu:~# python -V
Python 2.7.12
已经删过了,还是没用
Virtualhost infomation:
Your domain: ztcaoll222.cn
Home Directory: /home/wwwroot/ztcaoll222.cn
Rewrite: wordpress
Enable log: yes
Database username: ****
Database userpassword: *******
Database Name: *****
Create ftp account: no
Enable SSL: yes
=>Let's Encrypt
系统是ubuntu 16.04.1 x64
root@VM-12-73-ubuntu:~# uname -a
Linux VM-12-73-ubuntu 4.9.3-040903-generic #201701120631 SMP Thu Jan 12 11:33:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[ 本帖最后由 ztcaoll222 于 2017-1-18 16:15 编辑 ] 那就不大清楚了,建议去Letsencrypt官网问问
页:
[1]