# Try it once, into python script run following statement
# try.py
import pymongo
# If above statement didn't throw any exception then you need to install pymongo-2.4, if existing pymongo verion is 2.3
#open terminal
#First you need to uninstall old pymongo version
pip uninstall pymongo
#Then use following commands to install pymongo-2.4
wget http://pypi.python.org/packages/source/p/pymongo/pymongo-2.4.tar.gz
tar xzf pymongo-2.4.tar.gz
cd pymongo-2.4
python setup.py install
pymongo 安装
最新推荐文章于 2024-06-23 14:46:45 发布