gpt4 book ai didi

python - 模块脚本的 Pyinstaller

转载 作者:可可西里 更新时间:2023-11-01 10:34:52 24 4
gpt4 key购买 nike

我正在尝试使用 pyinstaller 将我的脚本制作成 .exe。

我目前这样运行我的股票

Python -m script.script -c config.ini

如果可以的话,是否可以使用 pyinstaller?

我试过以下方法

Pyinstaller python -m script.script

但没有运气。

也尝试过自己构建 script.py,但是当它调用其他文件夹中的其他脚本时,它不起作用。

最佳答案

结束使用 py2exe 所以 scrpit 发送为

Scrpit.exe -c settings.ini

关于python - 模块脚本的 Pyinstaller,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32923192/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com