No module named openmdao.api

103 Views Asked by At

After I installed openmdao following the getting started page manual: pip install 'openmdao[all]', and try test the example by python paraboloid_min.py, why it returns that No module named openmdao.api ?? Anyone could help, thank you very much!

I tried: pip install 'openmdao[all]' python paraboloid_min.py

And I expect: Optimization terminated successfully. (Exit mode 0) Current function value: -27.333333333333336 Iterations: 5 Function evaluations: 6 Gradient evaluations: 5 Optimization Complete

0

There are 0 best solutions below