mongodb-labs / edda

A log visualizer for MongoDB - This Repository is NOT a supported MongoDB product
232 stars 28 forks source link

ImportError: No module named edda.supporting_methods #136

Open jlsjonas opened 8 years ago

jlsjonas commented 8 years ago
  File "run_edda.py", line 35, in <module>
    from filters import *
  File "/Users/jonas/git/edda/edda/filters/__init__.py", line 15, in <module>
    import rs_status
  File "/Users/jonas/git/edda/edda/filters/rs_status.py", line 17, in <module>
    from edda.supporting_methods import capture_address
ImportError: No module named edda.supporting_methods

tried several approaches to make sure it's not because of my pwd; not that experienced with python itself so might be a trivial bug (since I do see the supporting_method's file).

samantharitter commented 8 years ago

Hi there @jlsjonas, have you been able to get this running? I was able to solve this issue locally by adding the working directory to my PYTHONPATH:

export PYTHONPATH="${PYTHONPATH}:/path/to/edda/dir"