好,我目前想在我的MacOS安裝Scrapy但一切的問題,我在終端推出的第一件事就是:在Mac OS X錯誤SSL PIP安裝Scrapy
pip install scrapy
,並返回我:
You are using pip version 7.0.1, however version 9.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Requirement already satisfied (use --upgrade to upgrade): scrapy in /usr/local/lib/python2.7/site-packages/Scrapy-1.2.1-py2.7.egg Collecting Twisted>=10.0.0 (from scrapy) Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/twisted/ Could not find a version that satisfies the requirement Twisted>=10.0.0 (from scrapy) (from versions:) No matching distribution found for Twisted>=10.0.0 (from scrapy)
看到更新,使考慮,我意識到這一點......
pip install --upgrade pip
,並返回我下面的:
You are using pip version 7.0.1, however version 9.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Requirement already up-to-date: pip in /usr/local/lib/python2.7/site-packages/pip-7.0.1-py2.7.egg
事實是,昨天我是做了一千個測試,給了我另一種類型的錯誤:
"SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed"
但最後這個錯誤不再顯示我。
你可以嘗試安裝到[virtualenv](https://virtualenv.pypa.io/en/stable/)嗎? – eLRuLL
@elRuLL nop如果我這樣做,它會給我一個錯誤:[SSL:CERTIFICATE_VERIFY_FAILED]如果我嘗試安裝虛擬 –