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
When I run pywin32_postinstall.py manually, this is what I get:
C:\Python27\Scripts>pywin32_postinstall.py -install
Copied pythoncom27.dll to C:\Windows\system32\pythoncom27.dll
Copied pywintypes27.dll to C:\Windows\system32\pywintypes27.dll
Registered: Python.Interpreter
Registered: Python.Dictionary
Registered: Python
-> Software\Python\PythonCore\2.7\Help[None]=None
-> Software\Python\PythonCore\2.7\Help\Pythonwin Reference[None]='C:\\Python27\
Lib\\site-packages\\PyWin32.chm'
Pythonwin has been registered in context menu
Can't install shortcuts - u'C:\\Users\\SND\\AppData\\Roaming\\Microsoft\\Windows
\\Start Menu\\Programs\\Python 2.7' is not a folder
The pywin32 extensions were successfully installed.
PyWin32 appears to be installed and operational despite the error. The Python 2.7 program group icons are also registered despite the warning in the output above.
This is an error which I've seen a few times during testing but have never been able to work out why. I don't think it's related to UAC but don't know what the issue is. I'll close a few dupes of this to reference this issue.
Given the sheer amount of installation issues duplication and old history, I'd like to consolidate the current state of these issues. So I'll close and reference back any issue that only has comments showing the issue:
If you're having this issue with Jupyter Notebooks, refer to #1409 instead.
If you're having this issue using the Microsoft Store distribution of Python, refer to #1383 instead.
If you're having this issue with the Anaconda distribution of Python, refer to #1865 instead.
If this specific issue can be replicated on the latest pywin32, non-EOL python, installing from PyPI, and it doesn't seem related to any of the 3 above, then we can re-open it.
A colleague and I both got this error on Win 64-bit in the last dialog of the installer:
close failed in file object destructor:
Error in sys.excepthook:
Original exception was:
I was able find this thread which describe the same problem:
http://python-forum.com/pythonforum/viewtopic.php?f=15&t=17163&start=0&sid=84e05d8a7c989bb8a3f36ea0a868c28a
When I run pywin32_postinstall.py manually, this is what I get:
C:\Python27\Scripts>pywin32_postinstall.py -install
Copied pythoncom27.dll to C:\Windows\system32\pythoncom27.dll
Copied pywintypes27.dll to C:\Windows\system32\pywintypes27.dll
Registered: Python.Interpreter
Registered: Python.Dictionary
Registered: Python
-> Software\Python\PythonCore\2.7\Help[None]=None
-> Software\Python\PythonCore\2.7\Help\Pythonwin Reference[None]='C:\\Python27\
Lib\\site-packages\\PyWin32.chm'
Pythonwin has been registered in context menu
Can't install shortcuts - u'C:\\Users\\SND\\AppData\\Roaming\\Microsoft\\Windows
\\Start Menu\\Programs\\Python 2.7' is not a folder
The pywin32 extensions were successfully installed.
PyWin32 appears to be installed and operational despite the error. The Python 2.7 program group icons are also registered despite the warning in the output above.
Reported by: tnili
Original Ticket: pywin32/bugs/498
The text was updated successfully, but these errors were encountered: