Python Import From Subprocess Fails
I have been working on some makefiles which call some python scripts to perform various tasks. Up to now, I had always been makeing on a machine with Ubuntu 16.04 (64 bits) install
Solution 1:
It appears that you're running in Linux. The CREATE_NEW_CONSOLE
constant is only available on Windows.
https://docs.python.org/3/library/subprocess.html#subprocess.CREATE_NEW_CONSOLE
Specifically the header of section 17.5.4:
The STARTUPINFO class and following constants are only available on Windows.
Post a Comment for "Python Import From Subprocess Fails"