天使漫步IT工作室天使漫步IT工作室

Python “pip install ” is failing with AttributeError: 'module' object has no attribute 'SSL_ST_INIT'


Warning: count(): Parameter must be an array or an object that implements Countable in /www/wwwroot/u11u.com/usr/themes/wq/functions.php on line 110

Warning: count(): Parameter must be an array or an object that implements Countable in /www/wwwroot/u11u.com/usr/themes/wq/functions.php on line 116

在mac上环境乱了以后,出现描述:

Python “pip install ” is failing with AttributeError: 'module' object has no attribute 'SSL_ST_INIT'

也就是pip 命令也没办法操作,自然也无法通过pip install 或者pip uninstall 来解决问题。

在神站上有人回复:

https://stackoverflow.com/questions/45188413/python-pip-install-is-failing-with-attributeerror-module-object-has-no-att

使用命令:

sudo python -m easy_install --upgrade pyOpenSSL

修复(fix)。

本站原创,欢迎转载,转载敬请标明出处:天使漫步IT工作室 » Python “pip install ” is failing with AttributeError: 'module' object has no attribute 'SSL_ST_INIT'
添加新评论


Warning: Use of undefined constant php - assumed 'php' (this will throw an Error in a future version of PHP) in /www/wwwroot/u11u.com/usr/themes/wq/comments.php on line 38