Python-pip ssl error - building Spotify Connect Web

Raspberry Pi related support

Python-pip ssl error - building Spotify Connect Web

Postby martibs » 28 Feb 2017, 22:14

I'm trying to build Spotify Connect Web (https://github.com/Fornoth/spotify-connect-web) on my Raspberry Pi 1B running RuneAudio. Installation is done through python-pip. Running pip gives this error message:
Code: Select all
[root@runeaudio spotify-connect-web-master]# pip install -r requirements.txt
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Requirement already satisfied: cffi>=0.9.2 in /usr/lib/python3.6/site-packages (from -r requirements.txt (line 1))
Collecting Flask==0.11.1 (from -r requirements.txt (line 2))
  Could not fetch URL https://pypi.python.org/simple/flask/: 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 Flask==0.11.1 (from -r requirements.txt (line 2)) (from versions: )
No matching distribution found for Flask==0.11.1 (from -r requirements.txt (line 2))

However, SSL/TLS seems to be properly installed:
Code: Select all
[root@runeaudio spotify-connect-web-master]# pacman -Qs openssl
local/openssl 1.0.1.i-1
    The Open Source toolkit for Secure Sockets Layer and Transport Layer Security
local/python-pyopenssl 16.2.0-2
    Python3 wrapper module around the OpenSSL library
local/python2-pyopenssl 16.2.0-2
    Python2 wrapper module around the OpenSSL library

Why isn't SSL working in pip?
martibs
 
Posts: 1
Joined: 28 Feb 2017, 22:03

support RuneAudio Donate with PayPal

Return to Raspberry Pi

Who is online

Users browsing this forum: Google [Bot] and 7 guests