Created
April 5, 2018 21:53
-
-
Save cjac/1ce69917f8252bb7bbb55182951db42a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\Users\Administrator> type .\test-pywin32.py | |
#try: | |
import msvcrt | |
import win32api | |
import win32con | |
mvcrt.get_osfhandle | |
win32api.SetHandleInformation | |
win32con.HANDLE_FLAG_INHERIT | |
#except ImportError(e): | |
# print \ | |
# "you do not seem to have the pywin32 extensions installed:\n" + \ | |
# "\tparallel (-j) builds may not work reliably with open Python files." | |
# print e | |
PS C:\Users\Administrator> python .\test-pywin32.py | |
Traceback (most recent call last): | |
File ".\test-pywin32.py", line 3, in <module> | |
import win32api | |
ImportError: DLL load failed: The specified module could not be found. | |
PS C:\Users\Administrator> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment