CentOS 7 apache版本2.4 php 7.1
我的certbot坏了,我无法修理它。
[root@sw4u ~]# certbot renew
Traceback (most recent call last):
File "/bin/certbot", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3011, in <module>
parse_requirements(__requires__), Environment()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: cffi>=1.8,!=1.11.3[root@sw4u ~]# certbot
Traceback (most recent call last):
File "/bin/certbot", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3011, in <module>
parse_requirements(__requires__), Environment()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: cffi>=1.8,!=1.11.3yum install python2-acme yum install phtyon2-certbot-*
安装几乎是certbot,python2和python3。但是我不能解决这个问题。
发布于 2020-03-10 08:24:39
您安装了cffi吗?
python3 -m venv env
source env/bin/activate
pip3 install cffihttps://stackoverflow.com/questions/60609592
复制相似问题