ModuleNotFoundError: No module named numpy
To install numpy execute
python3 -m pip install numpy
If all goes well, you will see messages like these
Collecting numpy Downloading numpy-1.20.1-cp39-cp39-manylinux2010_x86_64.whl (15.4 MB) |████████████████████████████████| 15.4 MB 13.5 MB/s Installing collected packages: numpy Successfully installed numpy-1.20.1
If instead you see a warning like this
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/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.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
Go on to solving the problem ssl module in Python is not available
Article author: Andrei Olegovich