Replies: 13 comments 5 replies
-
Please search |
Beta Was this translation helpful? Give feedback.
-
Also I have tested pyarmor obfuscated script before building with nuitka, using the following command
|
Beta Was this translation helpful? Give feedback.
-
Search this |
Beta Was this translation helpful? Give feedback.
-
Also upgrade
It fix one issue for Nuitka |
Beta Was this translation helpful? Give feedback.
-
One more, in pre-release version, it may only work for non-trial version |
Beta Was this translation helpful? Give feedback.
-
**Updated Tools version as above comment **
Traceback (most recent call last): |
Beta Was this translation helpful? Give feedback.
-
It's trial version issue. |
Beta Was this translation helpful? Give feedback.
-
In trial version, the runtime package can't be renamed |
Beta Was this translation helpful? Give feedback.
-
python -m nuitka --onefile --include-package=dist.pyarmor_runtime_000000 --output-dir=build_out dist/hello_world.py , PS D:\workspace\hello-w> .\build_out\hello_world.exe |
Beta Was this translation helpful? Give feedback.
-
Could you insert one line at the begin of print('package name is', __name__) Check what is the package name? |
Beta Was this translation helpful? Give feedback.
-
Well, I just make a simple test
At least, it works. pyarmor is 9.1.0, test in ubuntu x86_64 |
Beta Was this translation helpful? Give feedback.
-
I have modified the init.py add to below
|
Beta Was this translation helpful? Give feedback.
-
No idea about this. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have simply created hello world python project, with folder src/hello.py
def print_hw():
print('Hello World')
if name =='main':
print_hw()
It created a output folder (dist) contains
\hello.py
\pyarmor_runtime_000000
- init.py
- pyarmor_runtime.pyd
later I build with nuitka
It created hello.exe
while running .... hello.exe
Traceback (most recent call last):
File "C:\Users\Kbc\AppData\Local\Temp\O
1\hello.py", line 2, in1\pyarmor_runtime_000000_init_.py", line 2, inFile "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "C:\Users\Kbc\AppData\Local\Temp\O
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
RuntimeError: the format of obfuscated script is incorrect (1:5367)
Beta Was this translation helpful? Give feedback.
All reactions