CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   Error with running python script (https://www.cfd-online.com/Forums/su2/236875-error-running-python-script.html)

nitin123garg June 20, 2021 14:12

Error with running python script
 
Hi,


I am a beginner to SU2 and trying to run optimization in SU2.


In the command line, SU2_CFD is well recognized, which makes me believe that my environment variables are correctly set. However, while running the python scripts, SU2_CFD is not recongized and gives the below reply. Any help will be greatly appreciated.
I installed SU2 on wsl on windows 10.


File "/usr/lib/python3.8/os.py", line 675, in __getitem__
raise KeyError(key) from None
KeyError: 'SU2_CFD


Thanks,
Nitin


All times are GMT -4. The time now is 10:38.