如何修复 certbot ContextualVersionConflict: zope.interface 4.7.1, Requirement.parse(zope.interface>=5.3.0a1)
问题:
运行 certbot 时,你看到类似以下的错误消息:
certbot_zope_conflict.txt
An unexpected error occurred:
pkg_resources.ContextualVersionConflict: (zope.interface 4.7.1 (/usr/lib/python3/dist-packages), Requirement.parse('zope.interface>=5.3.0a1'), {'zope.component'})解决方案
你安装的 zope.interface 版本太旧。使用以下命令升级它
upgrade_zope_interface.sh
pip install -U zope.interface之后,certbot 应该可以正常工作。
Check out similar posts by category:
Networking
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow