使用pip在ubuntu上安装prettytable时出错 [英] Error installing prettytable on ubuntu with pip
本文介绍了使用pip在ubuntu上安装prettytable时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我刚安装了pip,安装了一些np软件包.我尝试过了
I just installed pip, installed a few packages np. I tried this
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
如何安装prettytable?
How do I install prettytable?
推荐答案
错误来自PyOpenSSL
.您的OpenSSL
太旧或太新.尝试升级或降级OpenSSL
和PyOpenSSL
.
The error comes from PyOpenSSL
. Either your OpenSSL
is too old or too new. Try upgrading or downgrading OpenSSL
and PyOpenSSL
.
这篇关于使用pip在ubuntu上安装prettytable时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文