Rate This Document
Findability
Accuracy
Completeness
Readability

Installing NumPy

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Use an SFTP tool to upload the NumPy installation package to the /path/to/PYTHON directory on the server.
  3. Run the following commands to set the environment variables:
    export PATH=/path/to/PYTHON/bin:$PATH
    export LD_LIBRARY_PATH=/path/to/PYTHON/lib:$LD_LIBRARY_PATH
  4. Run the following command to decompress the installation package and go to the installation directory:
    unzip numpy-1.19.4.zip && cd numpy-1.19.4
  5. Run the following command to perform the compilation and installation:
    python3 setup.py build && python3 setup.py install