How to install numpy to Python 3.5?

Although using virtual environment is advisable in many use-cases, it is not strictly required. You can have a system python3.5 and a pip installation associated with it.

Note that Python 3.5 is now end-of-life and pip has now dropped support. The final version of pip supporting Python 3.5 was 20.3.4 (Jan 2021).

  1. Download this file: pip-20.3.4-py2.py3-none-any.whl
  2. Bootstrap a pip installation using the wheel file: sudo python3.5 pip-20.3.4-py2.py3-none-any.whl/pip install pip-20.3.4-py2.py3-none-any.whl
  3. Install numpy with python3.5 -m pip install --user numpy

Leave a Comment

tech