Hi,
There are several ways to check the installed module version.
The best approach is to confirm using the python runtime, which will load pymongo based on your current environment variables.
It's also useful to check that PyMongo has the C extensions installed as these improve serialisation performance over the pure Python implementation:
$ python -c "import pymongo; print(pymongo.version); print(pymongo.has_c())"
3.0.2
True
Alternatively you can check what version pip thinks is installed. The caveat is that different module versions might be loaded based on
Python environment variables or with tools like
virtualenv.
$ pip list | grep pymongo
pymongo (3.0.2)
Regards,
Stephen