New Install on Raspberry Pi SSL module unavailable

Very new to Home Assistant and probably this is a question I need to raise at the Python folks, but I’ll give it a try here anyway.

I followed the installation process as per https://www.home-assistant.io/docs/installation/raspberry-pi/. Part of it was to install Python 3.8.5, because 3.7.2 was still part of the distribution. That completed successfully and I am now able to follow the rest of the procedure until “python3 -m pip install wheel” where it wants me to install the Wheel. It fails with ‘SSL Module unavailable’.

Any suggestions? I tried re-installing Python3.8.5 with the following preceeding:

* sudo apt-get install build-essential checkinstall
* sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev

But to no avail.

Any suggestions?

Many thanks in advance.

Use Docker.

You’ll avoid having to get a working Python 3.8 install :wink:

Found it myself. Thanks to this website: https://joshspicer.com/python37-ssl-issue
Obviously, replace the versions, but then you should be good. :slight_smile:

I’d still suggest looking at the other install methods, especially as a new user. You’ll have more of these “issues” in the future.

1 Like

I have the same problem … now with python 3.10 +
I am following the same but i am not able to find the Setup.dist under Modules
where is it located anyone knows?

  1. What exact error are you getting?
  2. Did you install the required libraries (covered in the Core documentation)?
  3. Any reason you can’t just switch to using Docker?

Did you ever find a solution? I’m struggling with this exact problem.

Could not fetch URL https://www.piwheels.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='www.piwheels.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping

I believe I have all the required libraries. I have no experience with Docker, and I’d rather not learn to use a new system for what seems like a minor hitch.