You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on a quick Google search, I found the reason here. STARTUPINFO is only available in Windows. If you are using Linux OS, comment that line and rerun it.
I've found the best way is to replace the ps declaration in xfoil_module.py to " ps = sp.Popen(['/path/to/xfoil'],
stdin=sp.PIPE,
stdout=sout,
stderr=None,
encoding='utf8')" if you are using macOS or Linux
Hi all,
I'm getting the crash
AttributeError: module 'subprocess' has no attribute 'STARTUPINFO'
when running
find_coefficients(airfoil='naca0012',alpha=12.)
Any idea ? Thanks !
The text was updated successfully, but these errors were encountered: