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
My IT group has built a python script that runs as a service on our windows boxes and makes use of the pywin32 module. However, we are attempting to upgrade to Windows 8.1 and need an automated way to install the pywin32 module to python. However, the setup.py fails with the following error:
Traceback (most recent call last):
File "\path\to\setup.py", line 1957, in
""" % dirs).split()
File "\path\to\setup.py", line 605,
in init
if os.path.isfile(os.path.join(sdk_dir, "include", "activng.h")):
File "\other\path\to\ntpath.py, line 96, in join
assert len(path) > 0
TypeError: object of type 'NoneType' has no len()
The GUI installer has given me no problems, but that is not an option, as this should be an unattended install.
Actually this may not be a bug, I think I may have just been misinformed about what came included with Windows 8.1.
Apparently the SDK does not ship with 8.1 Enterprise. Still leaves me in a bad spot since I can't connect to the internet until this script runs and I can't run the script until I get the SDK from the internet, but that isn't an issue with your module.
Hello,
My IT group has built a python script that runs as a service on our windows boxes and makes use of the pywin32 module. However, we are attempting to upgrade to Windows 8.1 and need an automated way to install the pywin32 module to python. However, the setup.py fails with the following error:
Traceback (most recent call last):
File "\path\to\setup.py", line 1957, in
""" % dirs).split()
File "\path\to\setup.py", line 605,
in init
if os.path.isfile(os.path.join(sdk_dir, "include", "activng.h")):
File "\other\path\to\ntpath.py, line 96, in join
assert len(path) > 0
TypeError: object of type 'NoneType' has no len()
The GUI installer has given me no problems, but that is not an option, as this should be an unattended install.
Thanks!
Reported by: jbray1982
Original Ticket: pywin32/bugs/660
The text was updated successfully, but these errors were encountered: