Python-ai-assistant icon indicating copy to clipboard operation
Python-ai-assistant copied to clipboard

pymongo not installing properly

Open apensotti opened this issue 2 years ago • 2 comments

Failed to start mongodb.service: Unit mongodb.service not found. Traceback (most recent call last): File "/home/alexp/Python-ai-assistant/./src/jarvis/start.py", line 23, in from jarvis import settings File "/home/alexp/Python-ai-assistant/src/jarvis/jarvis/init.py", line 27, in from jarvis.utils.mongoDB import db File "/home/alexp/Python-ai-assistant/src/jarvis/jarvis/utils/mongoDB.py", line 24, in from pymongo import MongoClient, DESCENDING ModuleNotFoundError: No module named 'pymongo' Failed to stop mongodb.service: Unit mongodb.service not loaded.

Not sure if it's a problem with the setup.sh file, or with my instance of python. I pip installed pymongo, ran the setup.sh file, and got this error after running the run_jarvis.sh file.

apensotti avatar Oct 26 '23 02:10 apensotti

There seem to be a lot of missing dependencies

apensotti avatar Oct 26 '23 03:10 apensotti

I'm having a similar issue where the dependencies from 'requirements.txt' isn't being recognized, although they are within the ./jarvis_virtualenv/lib and lib64 folders. @ggeop Any tips on why ModuleNotFoundError is thrown for every module?

luandro avatar Jan 20 '24 09:01 luandro