ErezAmihud / dearmor

This is a repo to deobfuscate pyarmor files
Apache License 2.0
27 stars 7 forks source link

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

Closed Imma-P closed 1 year ago

Imma-P commented 1 year ago

Hello, I get this error

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

How can I fix? Thank you

Immagine

ErezAmihud commented 1 year ago

Python is probably not installed correctly, or that the pyc file was not created in windows.

To check if python is installed correctly try using pyarmor to obfuscate python file and then use dearmor. (Note, if you installed python from the microsoft store, remove it and install from python official site)

To check if the pyc is the problem, decompile the pyc into py file using pycdc or decompyle and then try to run with it.