簡體   English   中英

使用pip在ubuntu上安裝prettytable時出錯

[英]Error installing prettytable on ubuntu with pip

我剛剛安裝了pip,安裝了幾個包np。 我試過這個

pip install prettytable
Collecting prettytable
From cffi callback <function _verify_callback at 0x7f424837d6e0>:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 313, in wrapper
    _lib.X509_up_ref(x509)
AttributeError: 'module' object has no attribute 'X509_up_ref'
  Could not find a version that satisfies the requirement prettytable (from versions: )
No matching distribution found for prettytable

我如何安裝漂亮的?

錯誤來自PyOpenSSL 您的OpenSSL太舊或太新。 嘗試升級或降級OpenSSLPyOpenSSL

重新安裝 pyopenssl 對我有用:

pip uninstall pyopenssl
pip install pyopenssl

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM