推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
xj188
V2EX  ›  Python

mac os 下 pip3 报 ssl 错误,有大神遇到过吗

  •  
  •   xj188 · Jun 5, 2017 · 8867 views
    This topic created in 3400 days ago, the information mentioned may be changed or developed.

    无法使用 pip3 安装东西,提示 pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Collecting selenium Could not fetch URL https://pypi.python.org/simple/selenium/: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping Could not find a version that satisfies the requirement selenium (from versions: )

    我看了一下 openssl 是安装的,OpenSSL 1.0.2l 25 May 2017 难得玩下 mac os 下的 python3.6,居然无法使用 pip3 install 有人遇到过啊

    1 replies  •  2017-06-05 22:19:51 +08:00
    a132811
        1
    a132811  
       Jun 5, 2017
    我用的 brew install openssl python3,没有问题。
    或者这个能解决你的问题, 最下面的那条答案
    https://stackoverflow.com/questions/41489439/pip3-installs-inside-virtual-environment-with-python3-6-failing-due-to-ssl-modul
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2618 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 748ms · UTC 01:30 · PVG 09:30 · LAX 18:30 · JFK 21:30
    ♥ Do have faith in what you're doing.