我正在嘗試在我的Raspberry Pi Zero W上為Python 3.6安裝RPi.GPIO,但不知何故它不會連接配接到python.org網站.我安裝了2.7,3.0和3.6的pip,是以當我去做類似的事情:
sudo pip3.6 install RPi.GPIO
我收到此錯誤:
[email protected]:~ $sudo pip3.6 install RPi.GPIO
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting RPi.GPIO
Could not fetch URL 07000: 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 RPi.GPIO (from versions: )
No matching distribution found for RPi.GPIO
我确實嘗試過sudo apt-get install openssl等等,但它仍然無效.我可以在桌面和手機上完美通路網站,但我的Raspberry Pi根本不會.知道我能做什麼嗎?