gpt4 book ai didi

python - 使用 pip 在 ubuntu 上安装 prettytable 时出错

转载 作者:太空宇宙 更新时间:2023-11-03 14:31:56 26 4
gpt4 key购买 nike

我刚装了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

如何安装 prettytable?

最佳答案

错误来自 PyOpenSSL。您的 OpenSSL 太旧或太新。尝试升级或降级 OpenSSLPyOpenSSL

关于python - 使用 pip 在 ubuntu 上安装 prettytable 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52042226/

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