混淆后使用nuitka打包报错找不到模块 #2086
Unanswered
Strong-Boy007
asked this question in
Q&A
Replies: 1 comment
-
|
混淆后nuitka是无法根据源代码自动找到依赖,需要人工配置依赖模块,请参阅nuitka文档 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Pyarmor 9.1.1 (trial), 000000, non-profits
License Type : pyarmor-trial
License No. : pyarmor-vax-000000
License To :
License Product : non-profits
BCC Mode : No
RFT Mode : No
CI/CD Mode : No
Notes
This is trial license
混淆命令:
pyarmor gen foo.py
nuitka打包命令:
nuitka --standalone --onefile --include-package=dist.pyarmor_runtime_000000 dist/foo.py
运行报错:
Traceback (most recent call last):
File "", line 3, in
File "", line 5, in
ModuleNotFoundError: No module named 'random'
混淆后是正常运行,nuitka打包后就不行
系统是ubuntu
nuitka版本是2.6.7
Beta Was this translation helpful? Give feedback.
All reactions