Home  >  Q&A  >  body text

安装pywin32出错,无法找到Python路径

问题如下,安装pywin32-amd64版本时报错,找不到路径

已确定注册表已写入python路径


于是安装了32位版本的pywin32,安装成功,但是又会由于安装位数不对(因为我用的是64位),出现ImportError DLL load failed: %1 不是有效的 Win32 应用程序报错

求解决为何64位安装包获取不到路径,32位安装包能获取路径?

怪我咯怪我咯2740 days ago979

reply all(2)I'll reply

  • 迷茫

    迷茫2017-04-18 10:21:52

    Maybe it’s because you are using Windows 10, most packages are still Win7

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-18 10:21:52

    The package you downloaded is 32-bit, and the python version you installed is 64-bit.

    reply
    0
  • Cancelreply