You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running mix-models --help, I got the following:
(base) C:\Users\maczek\PycharmProjects\message-ix-models>mix-models --help
Traceback (most recent call last):
File "C:\Users\maczek\Anaconda3\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\maczek\Anaconda3\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\maczek\Anaconda3\Scripts\mix-models.exe\_main_.py", line 4, in <module>
File "C:\Users\maczek\PycharmProjects\message-ix-models\message_ix_models\cli.py", line 138, in <module>
_import_(name)
File "C:\Users\maczek\PycharmProjects\message-ix-models\message_ix_models\project\ssp\_init_.py", line 9, in <module>
from .structure import SSP, SSP_2017, SSP_2024, generate
File "C:\Users\maczek\PycharmProjects\message-ix-models\message_ix_models\project\ssp\structure.py", line 203, in <module>
SSP = SSP_2017 = make_enum("ICONICS:SSP(2017)")
File "C:\Users\maczek\PycharmProjects\message-ix-models\message_ix_models\util\sdmx.py", line 115, in make_enum
cl = read(urn)
File "C:\Users\maczek\PycharmProjects\message-ix-models\message_ix_models\util\sdmx.py", line 146, in read
for _, cls in msg.iter_collections():
AttributeError: 'StructureMessage' object has no attribute 'iter_collections'
When running
mix-models --help
, I got the following:sdmx was installed in version 2.10.0
It seems that
sdmx.message.StructureMessage.iter_collections()
has only been added in version 2.11.0. https://sdmx1.readthedocs.io/en/v2.11.0/api.htmlSo I guess pyproject.toml dependencies should be updated to
"sdmx1" >= 2.11.0
The text was updated successfully, but these errors were encountered: