pip install on linux

Hello, I am trying out the Linux install of Dundas and I’ve imported some data cubes that use pymongo to get data from mongodb.
I tried pip install pymongo and pip3 install pymongo but the reports still say

ModuleNotFoundError(“No module named ‘pymongo’”,); line: 1

Any ideas? Thank you

As a temporary work around, I found where pymongo was installed and added it to the sys.path like:

import sys
sys.path.append('/usr/local/lib/python2.7/dist-packages')

Just realized the windows installs have the same issue and this is not specific to Linux. I upgraded to version 7 and pymongo can’t be found anymore.

For future users this is solved with

sudo apt install python3-sklearn

1 Like