- 使用低版本python 避免出現加密限制,無法加密情況
環境:python3.9.9
安裝 pyinsatller 及 pyarmor
pip install pyinsatller pyarmor
添加 其它pyinstaller 打包參數
一定在下邊正式打包命令運行前執行
具體參考 https://pyarmor.readthedocs.io/zh/stable/topic/repack.html#pyinstaller
打包命令
pyarmor gen -r --pack FC main.py