[英]Orange3 as a standalone executable using PyInstaller
I am working in an offline-environment, and am trying to deploy standalone Python-based applications with PyInstaller
.我在离线环境中工作,并尝试使用
PyInstaller
部署基于 Python 的独立应用程序。 I have been successful in all the previous pojects thus far, but for the latest one involving Orange3, I have the following problem.到目前为止,我在之前的所有项目中都取得了成功,但是对于涉及Orange3的最新项目,我遇到了以下问题。
I tried packaging Orange3 as a standalone executable with PyInstaller
via the command pyinstaller setup.py
(which does not work) as I could not find a main
script.我尝试通过命令
pyinstaller setup.py
(不起作用)将PyInstaller
打包为 PyInstaller 的独立可执行文件,因为我找不到main
脚本。
Is there currently a way which I can package orange3 as a standalone program?目前有没有一种方法可以将 package orange3 作为独立程序? If there are solution(s) with
PyInstaller
or other libraries, it will be of great help!如果有
PyInstaller
或其他库的解决方案,那将有很大帮助!
The entrypoint of Orange3 is Orange/canvas/__main__.py
. Orange3 的入口点是
Orange/canvas/__main__.py
。 A pyinstaller Orange/canvas/__main__.py
should work better. pyinstaller Orange/canvas/__main__.py
应该会更好。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.