Replies: 2 comments 3 replies
-
Looking at the errors you are receiving, it appears there is a mismatch between the version of IDAES you have and the examples. IDAES is in the process of transitioning to v2.0 which involves a number of changes in the API thus most of the old examples will no longer work. From what you said, I suspect you installed the latest |
Beta Was this translation helpful? Give feedback.
-
Thanks @andrewlee94 For those having the same issue: Link for the get-examples usage page: https://idaes-pse.readthedocs.io/en/stable/reference_guides/commands/get_examples.html
|
Beta Was this translation helpful? Give feedback.
-
Hi all, I just installed IDAES (advanced user installation) and tried to run some of the tutorials and examples.
I am having a few errors all over the place, so I am starting to suspect there might be something wrong with the installation.
Some examples of errors:
code: "m.fs = FlowsheetBlock(default={"dynamic": False})"
error: "ValueError: key 'default' not defined for ConfigDict '' and implicit (undefined) keys are not allowed""
code: "from idaes.generic_models.properties.activity_coeff_models.BTX_activity_coeff_VLE import BTXParameterBlock"
error: "ModuleNotFoundError: No module named 'idaes.generic_models'"
code: "run "notebook_test_script.py"" (from introduction tutorial)
error: (same error as (1) above)
I can circumvent some of these errors (for example, it seems like the folder generic_models was renamed as models), but I wanted to double check if other people have had the same issues or if it is some local installation errors I am getting.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions