How to know which version of PyMongo is running on my project

Babel picture Babel · Aug 26, 2015 · Viewed 20.7k times · Source

I'm developing a python project, in the requirements file I have three different types of PyMongo

Flask-PyMongo==0.3.1
pymongo==2.7
flask-mongoengine==0.7.1

How can I define which version I'm using?

Answer

kxxoling picture kxxoling · Aug 26, 2015

If you got pip installed, you can try this in terminal:

$ pip freeze | grep pymongo
pymongo==3.0.2