0
我是新来编码。虽然我尝试使用python3的pip3安装python-forecastio,但它给了我下面的错误。pip3安装时出现SSL错误
$ sudo pip3 install --trusted-host pypi.python.org python-forecastio
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting python-forecastio
Could not fetch URL https://pypi.python.org/simple/python-forecastio/: 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 python-forecastio (from versions:)
No matching distribution found for python-forecastio
的原因是没有安装OpenSSL的相关软件, 尝试百胜安装的OpenSSL的OpenSSL devel的 然后一切正常。 –
你在运行什么样的设置没有内置的SSL模块? – kichik