分页: 1 / 1

Pip running goes wrong

发表于 : 2018-05-23 1:20
悬崖勒马2011
I use ubuntu 14.04, and when I run pip, it always show

AttributeError: 'module' object has no attribute 'SSL_ST_INIT'

I checked pip version, it shows

"python-pip is already the newest version."

I tried: "pip install --upgrade pyOpenSSL", it returns same problem.
When I run: sudo apt-get install python-openssl, it says: python-openssl is already the newest version.

How can I solve this?

Thanks!

Re: Pip running goes wrong

发表于 : 2018-05-23 8:59
九天星

代码: 全选

sudo easy_install --upgrade pip

Re: Pip running goes wrong

发表于 : 2018-05-24 0:37
悬崖勒马2011
九天星 写了:

代码: 全选

sudo easy_install --upgrade pip
It worked! Thanks!