WindowsError: [Error 193] %1 is not a valid Win32 application
在用Python调用C生成的.so或者是.dll文件的时候出现了上面这个问题

具体的解决方法:
这是因为你的电脑是64位的
但是你的这个文件是32位的,所以就有了这样的冲突
说到这个你想必也明白了,删了下载32位的python吧
StackOverflow上面有类似的解答,可以点击访问看看
Python下载界面传送门,点击即可访问
python3最好下载
Python 3.5.4rc1 - 2017-07-25
Download Windows x86 executable installer
python2最好下载
Python 2.7.14rc1 - 2017-08-27
Download Windows x86 MSI installer

后记

最后,老套路,宣传一波自己的公众号!(求关注哇!)
本人中大一肥宅,欢迎大家关注,请扫下面的二维码(〃’▽’〃)


解决方法WindowsError: [Error 193] %1 is not a valid Win32 application

如果觉得有帮助的话,可以扫码,赞赏鼓励一下!谢谢!


解决方法WindowsError: [Error 193] %1 is not a valid Win32 application

相关文章:

  • 2022-12-23
  • 2021-12-28
  • 2021-09-08
  • 2022-01-08
  • 2021-12-28
  • 2022-01-02
  • 2021-07-05
  • 2022-12-23
猜你喜欢
  • 2021-07-01
  • 2022-12-23
  • 2021-05-31
  • 2021-12-30
  • 2021-05-23
  • 2021-11-25
  • 2022-12-23
相关资源
相似解决方案