So, I got the official Raspberry Pi 7" touchscreen and I want to install Mopidy-Touchscreen but it gives me this error:
/usr/local/lib/python2.7/dist-packages/cryptography/hazmat/primitives/constant_time.py:26: CryptographyDeprecationWarning: Support for your Python version is deprecated. The next version of cryptography will remove support. Please upgrade to a 2.7.x release that supports hmac.compare_digest as soon as possible.
utils.DeprecatedIn23,
/usr/local/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py:163: CryptographyDeprecationWarning: OpenSSL version 1.0.1 is no longer supported by the OpenSSL project, please upgrade. A future version of cryptography will drop support for it.
utils.CryptographyDeprecationWarning
Collecting Mopidy-Touchscreen
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLError(“bad handshake: Error([(‘SSL routines’, ‘SSL3_GET_SERVER_CERTIFICATE’, ‘certificate verify failed’)],)”,),)’: /packages/f4/ab/5311965d4b9609322e2baa42ad7d2fc63fa80e8c1199f41f953787920455/Mopidy-Touchscreen-1.0.0.tar.gz
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLError(“bad handshake: Error([(‘SSL routines’, ‘SSL3_GET_SERVER_CERTIFICATE’, ‘certificate verify failed’)],)”,),)’: /packages/f4/ab/5311965d4b9609322e2baa42ad7d2fc63fa80e8c1199f41f953787920455/Mopidy-Touchscreen-1.0.0.tar.gz
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLError(“bad handshake: Error([(‘SSL routines’, ‘SSL3_GET_SERVER_CERTIFICATE’, ‘certificate verify failed’)],)”,),)’: /packages/f4/ab/5311965d4b9609322e2baa42ad7d2fc63fa80e8c1199f41f953787920455/Mopidy-Touchscreen-1.0.0.tar.gz
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLError(“bad handshake: Error([(‘SSL routines’, ‘SSL3_GET_SERVER_CERTIFICATE’, ‘certificate verify failed’)],)”,),)’: /packages/f4/ab/5311965d4b9609322e2baa42ad7d2fc63fa80e8c1199f41f953787920455/Mopidy-Touchscreen-1.0.0.tar.gz
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLError(“bad handshake: Error([(‘SSL routines’, ‘SSL3_GET_SERVER_CERTIFICATE’, ‘certificate verify failed’)],)”,),)’: /packages/f4/ab/5311965d4b9609322e2baa42ad7d2fc63fa80e8c1199f41f953787920455/Mopidy-Touchscreen-1.0.0.tar.gz
Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host=‘files.pythonhosted.org’, port=443): Max retries exceeded with url: /packages/f4/ab/5311965d4b9609322e2baa42ad7d2fc63fa80e8c1199f41f953787920455/Mopidy-Touchscreen-1.0.0.tar.gz (Caused by SSLError(SSLError(“bad handshake: Error([(‘SSL routines’, ‘SSL3_GET_SERVER_CERTIFICATE’, ‘certificate verify failed’)],)”,),))
You are using pip version 18.1, however version 20.0.2 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.
When I try to update pip with the command it says, I get the same error.
I’m new to this stuff, so every bit of help is appreciated.