let's encrypt 升级失败

2017-03-14 12:37:13 +08:00
 awenlinux

我尝试运行/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/ .
3532 次点击
所在节点    SSL
5 条回复
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.
kmahyyg
2017-03-14 12:59:41 +08:00
偷懒,避免错误,不用编译版!
apt-get install letsencrypt -y -t jessie-backports
Pastsong
2017-03-14 13:02:47 +08:00
RTFM
msg7086
2017-03-14 16:25:43 +08:00
acme.sh 欢迎你……
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/

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/347335

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX