WindowsError: [Error 193] %1 is not a valid Win32 application in Python

后端 未结 3 960
Happy的楠姐
Happy的楠姐 2020-12-18 10:45

I wish to import liblas module in Python 2.7 on window 64bit. If I import the module with IDLE (Python GUI) I have no problem.

If I use PyScripter \"PyScripter-v2.5.

3条回答
  •  时光说笑
    2020-12-18 10:57

    This error can also be caused because the DLL that Python is attempting to run has been compiled on a newer version of C++. Make sure you are running the latest version of the Microsoft C++ Distribution.

    You can see the version you are running in the Python terminal window (highlighted in bold)

    Python 3.5.1 (v3.5.1:37a07cee5969, Dec 6 2015, 01:38:48) [MSC v.1900 32 bit (Intel)] on win32

    Download here

    https://www.microsoft.com/en-us/download/details.aspx?id=48145

提交回复
热议问题