Breakend / experiment-impact-tracker

MIT License
266 stars 31 forks source link

ModuleNotFoundError: No module named 'experiment_impact_tracker.data_interface' #76

Open aukarande opened 1 year ago

aukarande commented 1 year ago

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'

luciabouzaheguerte commented 1 year ago

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/ " + )