pyarmor

PyArmor ERROR 'utf-8' codec can't decode byte 0x83 in position 594: invalid start byte

半腔热情 提交于 2021-01-29 14:40:54
问题 I am developing with Python, and tried to make an installer by typing the following command in PyArmor. pyarmor pack -e " --onedir --noconsole --icon icon.ico -n testApp" main.py Then I got the following error. ERROR 'utf-8' codec can't decode byte 0x83 in position 594: invalid start byte There is no error when I type and execute python main.py . An error occurs only when PyArmor is running. What is the cause? How can I fix it? 回答1: As it says in the documentation: https://pyarmor.readthedocs

Pack a pyarmor obfuscated script to exe

a 夏天 提交于 2020-12-15 06:57:34
问题 I'm trying to turn a pyarmor Obfuscated python file in a exe. I tried with pyinstaller but doesn't worked. Anyone have any suggestions on how to proceed? 回答1: According to pyarmor's documentary, the process of obfuscating and what pyinstaller does, are being done by using cd directory_of_your_file and than using pyarmor pack myfile.py from 1 or 2 After doing that it will create a file (exe file) in "your directory" under "dist" folder. Additionally you can do something like code below from