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)。