I am coming up with a couple errors after installing:
pywin32-217.win32-py2.7
I have recently upgraded ArcGIS to 10.1 and it us
An alternate solution is what Mark Hammond suggests on the pywin32 mailing list:
This seems to happen if User Access Control (UAC) is disabled - is it disabled for you?
Either way, try running "python scripts\pywin32_postinstall.py -install" from the root of the install directory and things should finish registering - that should fix the next error you see.
This worked fine for me.
Running from a PowerShell command as admin
worked for me on Windows 10, where as a Command line prompt (as admin)
failed.
I encountered the same problem as the author. I used the script from Tim Golden python staff to print a text file. After running, there are errors like the following:
pywintypes.error: (31, 'ShellExecute', 'A device attached to the system is not functioning.')
My system is windows 7, 64 bit. The python is python2.7 64bit.
I think the error has nothing to do with pywin32's installation or windows system settings. I guess the reason is the default opening software setting to .txt file. Because after I changed the default opening software from Nodepad++ to notepad, then I can print the file on my Hp printer.