Skip to content

ModuleNotFoundError: No module named 'mongo_connection_manager' #18

@aimeejtix

Description

@aimeejtix

I recently tried to use this Library within my Robot Tests and I'm seeing this error:

[ ERROR ] Error in file '/sandbox/tradeix-tests/system_tests/common_steps/Common_Keywords.robot': Importing test library 'MongoDBLibrary' failed: ModuleNotFoundError: No module named 'mongo_connection_manager'
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/MongoDBLibrary/__init__.py", line 1, in <module>
    from mongo_connection_manager import MongoConnectionManager
PYTHONPATH:
  /usr/local/bin
  /usr/lib/python36.zip
  /usr/lib/python3.6
  /usr/lib/python3.6/lib-dynload
  /home/vagrant/.local/lib/python3.6/site-packages
  /usr/local/lib/python3.6/dist-packages
  /usr/local/lib/python3.6/dist-packages/tradeix_qa_lib-1.0.1-py3.6.egg
  /usr/local/lib/python3.6/dist-packages/robotframework_mongodblibrary-0.3.4-py3.6.egg
  /usr/lib/python3/dist-packages
  ..
  ..
  ..

I've also tried downloading the library and editing the paths to be relative to see if it helps, but still get errors.
Any ideas why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions