Error installing and running pywin32 2.7

前端 未结 9 1371
半阙折子戏
半阙折子戏 2020-12-15 05:48

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

9条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-15 06:36

    I faced same issue when I installed pywin32-219.win-amd64-py2.7.exe by running the installer file as administrator.

    Once I installed it by simply executing the file (double clicking on it), I didn't face this issue again.

    I am on Windows 7 64 bit SP1 with Python 2.7.9 (64 bit)

    However, I did notice one strange thing, if I just double clicked the installer exe it took slightly over 20 seconds for the prompt to appear whether I would like to run the exe file or not, whereas in case of running the file as administrator, it happened right then (didn't have to wait for that long) I am using 120 GB SSD so can't question the slowness of Hard disk in this case.

    Anyways, here's the output after successful installation of pywin32 in my case:

    Copied pythoncom27.dll to C:\Windows\system32\pythoncom27.dll
    Copied pythoncomloader27.dll to C:\Windows\system32\pythoncomloader27.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
    Creating directory C:\Python27\Lib\site-packages\win32com\gen_py
    Shortcut for Pythonwin created
    Shortcut to documentation created
    The pywin32 extensions were successfully installed.
    

提交回复
热议问题