SamsungLabs / eagle

Measuring and predicting on-device metrics (latency, power, etc.) of machine learning models
Apache License 2.0
66 stars 12 forks source link

ModuleNotFoundError: No module named 'eagle' #9

Closed GrayGriffin closed 2 years ago

GrayGriffin commented 3 years ago

I'm getting this error when I try to run results_calc.py on the combined pickle dataset. Not sure why it's happening now since I was able to run it before.

vaenyr commented 3 years ago

Make sure our package is installed. We recommend in-place installation with: python -m pip install -e <path_to_repo>

Bear in mind that different python installations do not share their packages, e.g. if python got upgraded it might now use a version for which eagle hasn't been installed. The same goes for all virtual environments etc.

In general, python documentation is a good starting point in case of some unusually tricky problems: https://docs.python.org/3/reference/import.html

PS You can list installed packages with python -m pip list