200字范文,内容丰富有趣,生活中的好帮手!
200字范文 > python中pip不可用_python – pip无法确认SSL证书:SSL模块不可用

python中pip不可用_python – pip无法确认SSL证书:SSL模块不可用

时间:2023-09-27 07:32:10

相关推荐

python中pip不可用_python – pip无法确认SSL证书:SSL模块不可用

我正在尝试在我的Raspberry Pi Zero W上为Python 3.6安装RPi.GPIO,但不知何故它不会连接到网站.我安装了2.7,3.0和3.6的pip,所以当我去做类似的事情:

sudo pip3.6 install RPi.GPIO

我收到此错误:

pi@raspberrypi:~ $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根本不会.知道我能做什么吗?

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。