【发布时间】:2016-11-18 03:37:09
【问题描述】:
我在这里有点难过。我以前从未见过来自inspect.py 的错误,但在这里我尝试使用 certbot 安装一些 SSL 证书并发生错误。包括堆栈跟踪的certbot日志是here,但错误是:
File "/usr/lib64/python2.7/inspect.py", line 815, in getargspec
raise TypeError('{!r} is not a Python function'.format(func))
TypeError: <method-wrapper '__ne__' of type object at 0x1eeab80> is not a Python function
并且在运行certbot certonly 时发生。其他命令,例如检索版本,都可以。
我尝试了一些方法(卸载/重新安装等),但无济于事。我试图避免从 git 或其他来源安装(试图坚持使用yum)。更多细节
- Centos @ 7.1.1503(核心)
- certbot @ 0.8.1
奇怪的是,这个错误似乎表明实施中有错误,但我觉得这很奇怪,因为我在另一台 CentOS 7 机器上使用 certbot 没有问题。
非常感谢任何帮助。如果合适,我会在 GitHub 上打开一个问题,但我想我会先在这里问。
【问题讨论】:
标签: python-2.7 lets-encrypt certbot