Error installing and running pywin32 2.7

前端 未结 9 1334
半阙折子戏
半阙折子戏 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:23

    You must not install as administrator, see this bug report:

    This is maybe because you are running Windows under the "Administrator" account and anything you normally run is equal to a "run as Administrator"

    And paradoxically running the installation of pywin32 on Windows 7 as Administrator causes this error.

    So a workaround is to create another admin account

    net user Admin /add
    net user Admin
    net localgroup Administrators Admin /add

    and then run the pywin32 installation with

    runas /user:Admin pywin32-217.win32-py2.7.exe

提交回复
热议问题