experiment-impact-tracker icon indicating copy to clipboard operation
experiment-impact-tracker copied to clipboard

ModuleNotFoundError: No module named 'experiment_impact_tracker.data_interface'

Open aukarande opened this issue 2 years ago • 1 comments

DataInterface seems to be missing from the repository. I get the below error while running generate-carbon-impact-statement:

Traceback (most recent call last): File "/experiment-impact-tracker/scripts/generate-carbon-impact-statement", line 25, in from experiment_impact_tracker.data_interface import DataInterface ModuleNotFoundError: No module named 'experiment_impact_tracker.data_interface'

aukarande avatar Feb 10 '23 19:02 aukarande

Hi, the problem it's that PyPI version of the module it's not the same as Github (0.1.9). As a workaround, i installed the package by hand:

os.system("wget https://github.com/Breakend/experiment-impact-tracker/archive/refs/heads/master.zip") os.system("unzip master.zip") os.system("cp -R experiment-impact-tracker-master/experiment_impact_tracker/ " + <Path to your python packages>)

luciabouzaheguerte avatar Feb 13 '23 19:02 luciabouzaheguerte