ImportError: DLL load failed: %1 is not a valid Win32 application. But the DLL's are there

前端 未结 21 1582
礼貌的吻别
礼貌的吻别 2020-11-22 14:12

I have a situation very much like the one at ImportError: DLL load failed: %1 is not a valid Win32 application, but the answer there isn\'t working for me.

My Python

21条回答
  •  傲寒
    傲寒 (楼主)
    2020-11-22 14:40

    I experienced the same problem while trying to write a code concerning Speech_to_Text.

    The solution was very simple. Uninstall the previous pywin32 using the pip method

    pip uninstall pywin32
    

    The above will remove the existing one which is by default for 32 bit computers. And install it again using

    pip install pywin32
    

    This will install the one for the 64 bit computer which you are using.

提交回复
热议问题