Closed jdebecdelievre closed 3 years ago
Hello Jean,
Could you try it with OpenMDAO 3.2+? The set_input_defaults
attribute was introduced in 3.2. The current version of OAS does not support OM 3.1 or older.
Thank you, Shugo
Thank you, this worked. Sorry about that!
Hm I'm curious how this happened, since the setup.py
file specifies openmdao>=3.2
. Did you perhaps downgrade OpenMDAO after installing OpenAeroStruct?
I didn't downgrade - I even reran pip install 'openmdao[all]'
before posting this.
I am not sure how this happened but my guess is that, while I regularly pull the more recent openAeroStruct code from git, I have not run pip install -e .
in several months.
Anyways, I retried from scratch:
I see, if you installed via pip install -e .
then you do not need to re-run pip install
for OpenAeroStruct after subsequent git pull
. We upgraded the OpenMDAO requirements and I guess that never came up because of this.
That's right, for OAS, git pull
is enough to update the code if you pip-installed it with -e
(editable) option. However, git pull
does not call setup.py
, which would've upgraded OpenMDAO to 3.2+.
And I think pip install 'openmdao[all]'
does not upgrade OpenMDAO for you.
And I think
pip install 'openmdao[all]'
does not upgrade OpenMDAO for you.
That is correct, you have to either use the -U
flag, or specify the version to pip.
Thank you for all of your answers!
Hello,
I am trying to run the quick start example: http://mdolab.engin.umich.edu/OpenAeroStruct/quick_example.html on a Mac with python 3.8.5, OpenMDAO 3.1.0 and OpenAeroStruct 2.2.1/
I get the following error:
The same error was raised when I tried other run cases with only Aero. Do you know where this could be from?
Thank you! Jean