发布时间:2019-09-14 09:48:49编辑:auto阅读(2508)
mac使用pip3报错
ImportError: cannot import name 'HTTPSHandler'
解决方法
It seems your OSX On OS X you should link OpenSSL during Python installation (See: #14497). For Python 2: brew reinstall python --with-brewed-openssl pip install --upgrade pip For Python 3: brew reinstall python3 --with-brewed-openssl pip3 install --upgrade pip You could have multiple Python instances together, to list them run: brew list | grep ^python Or list your version via 参考链接: |
https://stackoverflow.com/questions/20688034/importerror-cannot-import-name-httpshandler-using-pip
https://stackoverflow.com/questions/41489439/pip3-installs-inside-virtual-environment-with-python3-6-failing-due-to-ssl-modul
https://stackoverflow.com/questions/20688034/importerror-cannot-import-name-httpshandler-using-pip
pip指定pip源安装:
./obpy17/bin/pip3 install -i http://pypi.douban.com/simple/ django --trusted-host pypi.douban.com
上一篇: 在 PowerShell 中使用 SQ
下一篇: redis演练(3) redis事务管理
51505
51019
41593
38354
32848
29799
28549
23480
23416
21767
1887°
2604°
2176°
2106°
2513°
2127°
2846°
4729°
4547°
3254°