gpt4 book ai didi

python - 在 Python 中导入 certificate_transparency

转载 作者:太空宇宙 更新时间:2023-11-04 04:41:33 25 4
gpt4 key购买 nike

我之前运行的应用程序出现错误:

File "/usr/lib/python2.7/site-packages/cryptography/x509/__init__.py", line 7, in <module>
from cryptography.x509 import certificate_transparency
ImportError: cannot import name certificate_transparency

密码学库的版本是 2.2.2,我要求文件 certificate_transparency.py 存在于所需的文件夹中。上述问题的根源可能是什么?

pip 10.0.1 from /home/serj/.local/lib/python2.7/site-packages/pip (python 2.7)

最佳答案

我有同样的问题,密码学有问题。尝试

sudo pip install --upgrade cryptography

关于python - 在 Python 中导入 certificate_transparency,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50506221/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com