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

前端 未结 21 1231
礼貌的吻别
礼貌的吻别 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:50

    I got this error when trying to import MySQLdb.

    What worked for me was to uninstall Python and then reinstall it.

    I got the error after installing npm (https://www.npmjs.com/get-npm). One thing it did was install Python even though I already had it.

提交回复
热议问题