python问题

……

The directory ‘/home/zoe/.cache/pip/http’ or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.
解决:sudo -H pip install 链接

Python出现错误SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform.
解决pip install pyopenssl ndg-httpsclient pyasn1
链接

RuntimeError: module compiled against API version 0xa but this version of numpy is 0x9
链接:
one
two
three
four

urllib2.URLError:
解决:pip install requests[security]
链接:
one
two
three