Trouble with Pymongo installation and dependencies

It runs completely fine when I run the code on a clean environment with just Pymongo (and Pymatgen)