CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

Error with running python script

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 20, 2021, 14:12
Default Error with running python script
  #1
New Member
 
Nitin
Join Date: Jul 2016
Posts: 2
Rep Power: 0
nitin123garg is on a distinguished road
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
nitin123garg is offline   Reply With Quote

 

Tags
installataion, python script error


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running Allrun script as a superuser alexvaleije OpenFOAM Running, Solving & CFD 3 February 12, 2020 09:41
Running OpenFOAM case through shell script (bash) ilaj OpenFOAM Programming & Development 2 January 28, 2020 13:14
[General] Python script to sum up a variable for all cells hconel ParaView 1 February 7, 2019 17:59
[General] python script to group/append datasets ufocfd ParaView 0 July 30, 2018 16:25
[OpenFOAM] Python script to export animation images mahyarv14 ParaView 10 August 16, 2014 11:11


All times are GMT -4. The time now is 09:11.