Menu

OSError: [WinError 193] %1 is not a valid Win32 application

2020-08-13
2021-03-15
  • Can Ozensoy

    Can Ozensoy - 2020-08-13

    I copied Snap7-VB6's (https://sourceforge.net/projects/snap7/files/) snap7.dll file to c -> windows -> system32 as it is mentioned. (Download the zip file from the sourceforce page. Unzip the zip file, and copy releaseWindows<win64 win32="">snap7.dll</win64> somewhere in you system PATH, for example C:WINDOWSsystem32. Alternatively you can copy the file somewhere on your file system and adjust the system PATH.)
    When I run snap7 program with python-snap7-master wrapper folders on anaconda(2020.07)'s spyder, I have "OSError: [WinError 193] %1 is not a valid Win32 application".
    snap7.dll causes this problem. I think it is not suitable for latest 64 bit environments. What should I do?

     
  • Ali Karbasi

    Ali Karbasi - 2021-03-15

    Just be informed that I have the same problem on Win10 64b latest update

     

    Last edit: Ali Karbasi 2021-03-15

Log in to post a comment.