我之前运行的应用程序出现错误:
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/