最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

make python app executable on an any linux (Arch based, Debian based and Redhat based) - Stack Overflow

programmeradmin9浏览0评论

I don't know how to make python executable on any linux. On Windows I know how t do it, it's my first time on Linux. I turned my python script into exe with ease (auto-py-to-exe). But I don't want my app to be distro specific (only .deb or .rpm). I just want to make it like executable binary.

I tried pyinstaller and it didn't work.

I don't know how to make python executable on any linux. On Windows I know how t do it, it's my first time on Linux. I turned my python script into exe with ease (auto-py-to-exe). But I don't want my app to be distro specific (only .deb or .rpm). I just want to make it like executable binary.

I tried pyinstaller and it didn't work.

Share Improve this question asked Mar 20 at 17:46 anonymous 6598anonymous 6598 131 silver badge7 bronze badges 5
  • I fot to add. My program uses customtkinter framework. If someone managed to recompile python scripts into executables with this framework, explain it, please. – anonymous 6598 Commented Mar 20 at 17:47
  • pyinstaller is the answer. Why didn't it work? What happened? – Tim Roberts Commented Mar 20 at 18:00
  • I just fot to add --colect-all option. That's why it didn't work. – anonymous 6598 Commented Mar 20 at 19:55
  • Generally speaking, you make a Python application be executable on Linux by ensuring that the entry-point script(s) each have an appropriate shebang line, and each have their executable permission set. You don't have to convert it to a binary format, and that ordinarily is not done. – John Bollinger Commented Mar 20 at 20:53
  • I called it wrong. I guess it's EFL format that I was talking about. – anonymous 6598 Commented Mar 21 at 0:17
Add a comment  | 

1 Answer 1

Reset to default 0

Solved. Just fot to add some parameters.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论