Error message
加密后的脚本无法被pyinstaller正确打包其依赖文件
#1231
Unanswered
lingdu0001
asked this question in
Q&A
Replies: 3 comments 3 replies
-
请参阅使用文档正确使用 Pyarmor. |
Beta Was this translation helpful? Give feedback.
1 reply
-
已经按照文档操作了。 |
Beta Was this translation helpful? Give feedback.
2 replies
-
--hidden-import flask_migrate |
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
-
Please read this first before report any issue
https://pyarmor.readthedocs.io/en/latest/questions.html
Please copy the whole command line
pyarmor gen
and first 4 lines in the console, do not mask anything, and do not paste snapshot image用pyinstaller正常打包(用的spec文件)文件大小为120M。
先用pyarmor gen -O dist -r src 生成加密文件后
改为用pyinstaller打包加密后的文件,生成的文件大小只有83.1M。
运行文件的时候报错
感觉是pyinstaller中少了对应的pip包,用pyinstxtractor反编译以后也发现确实少了pip依赖。
Beta Was this translation helpful? Give feedback.
All reactions