Svenskithesource / PyArmor-Unpacker

A deobfuscator for PyArmor.
GNU General Public License v3.0
493 stars 73 forks source link

ImportError: cannot import name 'pyarmor_runtime' from 'pytransform' #32

Closed rrblgn closed 1 year ago

rrblgn commented 1 year ago

Greetings, When I try to use "pip install pytransform" on Windows, I get errors about the MDAnalysis. So I decided to run it on Colab environment. However, this time even though pip installs pytransfrom well, I get: "ImportError: cannot import name 'pyarmor_runtime' from 'pytransform''" error. Can you assist me on overcoming this issue?

Svenskithesource commented 1 year ago

pytransform is something that is shipped with the Python script/executable. You can't get it from pip.

rrblgn commented 1 year ago

Oh thanks! I was decompiling an exe file and also using pycdc and i encountered the armored core when i used pycdc, so i went back to the pyz extracted files of the exe file and copied armor.py and pyc2py.py file and it worked here! Thank you for the script and I think different people can also encounter such problem so maybe you can make this issue visible.