iiasa / message-ix-models

Tools for the MESSAGEix-GLOBIOM family of models
https://docs.messageix.org/models
Apache License 2.0
16 stars 31 forks source link

CLI should be usable with only mandatory dependencies #185

Open khaeru opened 2 months ago

khaeru commented 2 months ago

@r-aneeque discovered that mix-models --help does not work with an installation of only message-ix-models (with no optional dependencies). There were ImportErrors due to:

To fix: adjust imports so that these are not required unless/until actually invoking the particular CLI commands that use them.