MongoEngine – Installation
”;
To use MongoEngine, you need to have already installed MongoDB and MongoDB server should be running as described earlier.
Easiest way to install MongoEngine is by using PIP installer.
pip install mongoengine
If your Python installation does not have Setuptools installed, you will have to download MongoEngine from https://github.com/MongoEngine/mongoengine and run the following command −
python setup.py install
MongoEngine has the following dependencies −
-
pymongo>=3.4
-
six>=1.10.0
-
dateutil>=2.1.0
-
pillow>=2.0.0
To verify the correct installation, run import command and check version as follows −
>>> import mongoengine >>> mongoengine.__version__ ''0.19.1''
Advertisements
”;