TL;DR: On MACOS 12.5.1, M1. I am a n00b graduate datascience student. I downloaded anaconda and homebrew miniforge, tried to download Tensorflow. After downloading Tensorflow I started to receive the following errors when using pip or conda install. pip works via jupyter notebooks but not via terminal.
Below is the text of my error readouts.
(venv) (base) duk3y2@DUK3Y6-2 Flask_for_venv % pip install Flask
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/flask/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/flask/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement flask (from versions: none)
ERROR: No matching distribution found for Flask
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: There was an error checking the latest version of pip.
(venv) (base) duk3y2@DUK3Y6-2 Flask_for_venv % conda install Flask
Collecting package metadata (current_repodata.json): failed
CondaSSLError: OpenSSL appears to be unavailable on this machine. OpenSSL is required to
download and install packages.
Exception: HTTPSConnectionPool(host='repo.anaconda.com', port=443): Max retries exceeded with url: /pkgs/main/osx-arm64/current_repodata.json (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))
/Users/duk3y2/miniforge3/bin:
/Users/duk3y2/miniforge3/condabin:
/opt/homebrew/bin:
/opt/homebrew/sbin:
/Library/Frameworks/Python.framework/Versions/3.10/bin:
/usr/local/bin:
/usr/bin:
/bin:
/usr/sbin:
/sbin:
/opt/X11/bin
I am sure I did something wrong. I cannot load any packages using pip or pip3. It gives the SSL error from above. There is also a weird line after opening the terminal that I think may potentially be related to the issue: (eval):1: unknown sort specifier
I'm lost, and have to resort to colab or jupyter to complete anything.