ModuleNotFoundError: No module named 'utils' #827
Replies: 2 comments
-
It should be the version around 2019, but now you can't find this version, do you have any good solutions? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you for providing additional information in #830. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, when I read in excel, I encountered difficulties in importing utilities from utils.py in the second step. Since I was using an older version, I needed to install util.py to run it. The installation file can no longer be found on the official website, and the reading method has changed. The data table has been prepared, if you change back to the current reading mode may need to change the table structure again, the workload is larger, if you want to download the new version of util, will it be compatible with the previous one? there is no ix_type_mapping to create table.
import utils ap = utils.add_par(scenario, horizon, vintage_years, firstyear, disp_error) input_rows = utils.apply_filters(tecs, filters={'Parameter': 'input'}) ap.add_tec_input(input_rows)ModuleNotFoundError Traceback (most recent call last) Cell In[23], line 1 ----> 1 import utils 2 ap = utils.add_par(scenario, horizon, vintage_years, firstyear, disp_error)
Beta Was this translation helpful? Give feedback.
All reactions