-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reinstalled MESSAGE-IX 3.4 version but still getting new errors; KeyError: “[ GWP ]” , DefinitionSyntaxError: Could not add Context ARGGWP100 relation on line ‘6’ #589
Comments
@LauWien kindly assist with above question |
@PelinaP, please:
|
This my first part of code: load required packages import matplotlib.pyplot as plt import ixmp as ix from message_ix.utils import make_df #####After running the above code cell, I get these two errors. |
|
This my first part of code: load required packages import matplotlib.pyplot as plt import ixmp as ix from message_ix.utils import make_df #####After running the above code cell, I get these two errors. \Traceback (most recent call last): File "C:\Users\energy\anaconda3\lib\site-packages\pint\context.py", line 324, in from_definition File "C:\Users\energy\anaconda3\lib\site-packages\pint\registry.py", line 770, in get_dimensionality File "C:\Users\energy\anaconda3\lib\site-packages\pint\registry.py", line 787, in _get_dimensionality File "C:\Users\energy\anaconda3\lib\site-packages\pint\registry.py", line 802, in _get_dimensionality_recurse #KeyError: '[_GWP]' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\energy\anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3444, in run_code File "C:\Users\energy\AppData\Local\Temp/ipykernel_11672/3332267660.py", line 10, in File "C:\Users\energy\anaconda3\lib\site-packages\message_ix_init_.py", line 10, in File "C:\Users\energy\anaconda3\lib\site-packages\message_ix\reporting_init_.py", line 16, in File "C:\Users\energy\anaconda3\lib\site-packages\message_ix\reporting\pyam.py", line 4, in File "C:\Users\energy\anaconda3\lib\site-packages\genno\compat\pyam_init_.py", line 2, in File "C:\Users\energy\anaconda3\lib\site-packages\pyam_init_.py", line 12, in File "C:\Users\energy\anaconda3\lib\site-packages\pyam\core.py", line 66, in File "C:\Users\energy\anaconda3\lib\site-packages\pyam_ops.py", line 5, in File "C:\Users\energy\anaconda3\lib\site-packages\iam_units_init_.py", line 18, in File "C:\Users\energy\anaconda3\lib\site-packages\pint\registry.py", line 650, in load_definitions File "C:\Users\energy\anaconda3\lib\site-packages\pint\registry.py", line 1629, in _load_context File "C:\Users\energy\anaconda3\lib\site-packages\pint\context.py", line 331, in from_definition File "", line 6 PLEASE ASSIST AS IT CANNOT SOLVE |
@LauWien I have made changes here. Kindly asking if you can be of help on this questions. |
@PelinaP it seems you did not read or understand my earlier comment, here: #589 (comment)
Please do us the kind favour of reading and understanding. We can not help you until you do (2) and stop doing (1). |
Output of message-ix show-versions The above exception was the direct cause of the following exception: Traceback (most recent call last): (base) C:\Users\energy> |
Thank you. Please then give the output of |
pip list alabaster 0.7.12 conda list packages in environment at C:\Users\energy\anaconda3:Name Version Build Channel_ipyw_jlab_nb_ext_conf 0.1.0 py39haa95532_0 |
With this information, we can confirm this is a known problem, e.g. #557:
You should install Pint version 0.19.2, or 0.18. Please confirm if this fixes the issue. |
it did not solve the error. it now brings a new error. This my first part of code: load required packagesimport itertools import matplotlib.pyplot as plt import ixmp as ix from message_ix.utils import make_df launch the IX modeling platform using the local default databasemp = ixmp.Platform() NameError Traceback (most recent call last) NameError: name 'ixmp' is not defined Output of message-ix show-versions |
I now have this issue after downloading pint key error;RuntimeError: unhandled Java exception:
|
My code run smoothly and suddenly had errors related to software. I successfully reinstalled the message-ix version 3.4 and in the anaconda prompt terminal, it saved in a specific directory. However, after I run my model. I get the error
KeyError: “[ GWP ]” and
DefinitionSyntaxError: Could not add Context ARGGWP100 relation on line ‘6’
at beginning of code. Please check image
@LauWien kindly assist me with this
The text was updated successfully, but these errors were encountered: