I tried to install Python library using pip (package installer for Python). But I’m getting SSL Error
[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You are getting this error because it supports only TSL 1.0 version, try to change the version of ssl that python is using to solve the problem or you can upgrade python to new version.
Upgrade using
`pip install -U platformio`
After upgrading, restart the IDE and check if it works.
Try upgrading pip using
pip install --upgrade pip
If the above code doesn’t work try this
curl https://bootstrap.pypa.io/get-pip.py | python
If you are using Mac use
sudo python