Cython主要用于编译MongoDB的Python驱动程序pymongo,以提高MongoDB的性能和稳定性。为了使MongoDB正常编译安装,需要安装Cython依赖。
1
|
cd /root |
如果执行git clone命令失败,请将github.com替换为github.com.cnpmjs.org后再执行下载命令。
1 2 |
git config --global http.sslVerify false git clone -b 3.0.0a9 https://github.com/cython/cython.git |
1 2 |
cd /root/cython python2 setup.py install |
1 2 |
cd /root/cython python3 setup.py install |
开始回显:
结束回显: