Installing Cython
Procedure
Method 1
- Use PuTTY to log in to the server as the root user.
- Run the following command to go to the CYTHON directory:
cd /path/to/CYTHON
- Run the following command to install pip for Python 2:
pip install cython
Alternatively, run the following command:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple cython
Method 2
- Download the Cython file from the following address:
- Run the following command to install Cython:
python setup.py install
- Run the following command to load Cython using pip:
pip install Cython
Parent topic: Configuring the Compilation Environment