Installing Cython
Procedure
- Use PuTTY to log in to the server as the root user.
- Use an SFTP tool to upload the Cython installation package to the /path/to/PYTHON directory on the server.
- 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
- Run the following command to decompress the installation package and go to the installation directory:
tar -zxf Cython-0.29.21.tar.gz && cd Cython-0.29.21
- Run the following command to perform the compilation and installation:
python3 setup.py build && python3 setup.py install
Parent topic: Configuring the Compilation Environment