Open benoitpaillard opened 5 years ago
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.
Hopefully, it works
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 !