How do I uninstall Python 3.9.1 from my Coral Dev Board?

Viewed 14

I installed python3.9.1 on the Coral Dev Board using the instructions from: https://linuxize.com/post/how-to-install-python-3-9-on-debian-10/ I did this because I was unable to locate a compiled package to install using pip or apt. I had been using python 3.7 with an OpenCV program I was working on but I kept getting an error "Unable to initilize Qt platform plugin" with a recommendation to reinstall. I was also unable to upgrade python 3.7 to python 3.9.1.

I experienced a build error during the installation:

"Could not build the ssl module! Python requires an OpenSSL 1.0.2 or 1.1 compatible libssl with X509_VERIFY_PARAM_set1_host(). LibreSSL 2.6.4 and earlier do not provide the necessary APIs, https://github.com/libressl-portable/portable/issues/381"

The build completed otherwise and I installed it. Python3.9.1 shows up as the current version (python 3.7 has NOT been uninstalled). I created a virtual environment and began trying to use pip install python packages like numpy. But I get the error:

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

I have found several posts about this SSL problem but not yet a fix for it.

So the new python3.9.1 installation is useless to me. Furthermore, researching this topic on this site, I've learned that Tensorflow is incompatible with python3.9.1 so Id like to remove it if only to recover the space it occupies.

0 Answers
Related