我尝试运行/usr/bin/certbot renew --quiet
升级证书,然而提示报错信息如下
Collecting acme==0.12.0 (from -r /tmp/tmp.QGMzMqont0/letsencrypt-auto-requirements.txt (line 174))
Could not find a version that satisfies the requirement acme==0.12.0 (from -r /tmp/tmp.QGMzMqont0/letsencrypt-auto-requirements.txt (line 174)) (from versions: 0.0.0.dev20151006, 0.0.0.dev20151008, 0.0.0.dev20151017, 0.0.0.dev20151020, 0.0.0.dev20151021, 0.0.0.dev20151024, 0.0.0.dev20151030, 0.0.0.dev20151104, 0.0.0.dev20151107, 0.0.0.dev20151108, 0.0.0.dev20151114, 0.0.0.dev20151123, 0.0.0.dev20151201, 0.1.0, 0.1.1, 0.2.0, 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 0.8.1, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.10.0, 0.10.1, 0.10.2, 0.11.0, 0.11.1)
No matching distribution found for acme==0.12.0 (from -r /tmp/tmp.QGMzMqont0/letsencrypt-auto-requirements.txt (line 174))
You are using pip version 8.0.3, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
=====================================================
Certbot has problem setting up the virtual environment.
We were not be able to guess the right solution from your pip
output.
Consult https://certbot.eff.org/docs/install.html#problems-with-python-virtual-environment
for possible solutions.
You may also find some support resources at https://certbot.eff.org/support/ .
1
mkdong 2017-03-14 12:45:05 +08:00
按照提示来说,先升级下 pip ?
> You are using pip version 8.0.3, however version 9.0.1 is available. > You should consider upgrading via the 'pip install --upgrade pip' command. |
2
kmahyyg 2017-03-14 12:59:41 +08:00 via Android
偷懒,避免错误,不用编译版!
apt-get install letsencrypt -y -t jessie-backports |
3
Pastsong 2017-03-14 13:02:47 +08:00
RTFM
|
5
fundebug 2017-03-22 11:09:33 +08:00
是因为阿里的 pip 源木有更新吧。我是这样搞定的:
mv ~/.pip/pip.conf ~/.pip/pip.conf.backup 也可以用清华的 pip 源 https://mirrors.tuna.tsinghua.edu.cn/help/pypi/ |