安装 MongoEngine
To use MongoEngine, you will need to downloadand ensure it is running in an accessible location. You will also need to use MongoEngine, but if you install MongoEngine using setuptools, then the dependencies will be handled for you.
依赖组件
安装方式
1、MongoEngine 可以再 PyPI找到, 因此能使用 pip安装:
$ pip install mongoengine
2、 从PyPi下载 ,解压后进入setup.py文件所在目录执行以下命令安装:
$ python setup.py install
3、如想使用最新更新的MongoEngine, 可从GitHub 下载源码,并如下所示命令进行安装:
$ git clone git://github.com/mongoengine/mongoengine
$ cd mongoengine
$ python setup.py install
网友评论