PyMongo usage

I am using mitmdump self-contained pre-built binary packages v2.0.2 successful. I want to read/write some data in a MongoDB instance but I can’t import PyMongo library in my own defined script. How can I use it?


Hey @Gigiarum,

If your script has non-stdlib dependencies, I would recommend that you install mitmproxy into a virtualenv using pip. :slight_smile:

Thanks a lot!
I installed latest Python version and follow the installation guide from source in the doc. After get PyMongo in Python all worked.