Why isn’t PyInstaller used more widely for Python projects?

0
10
Asked By CuriousCoder42 On

Hey everyone! I recently discovered the PyInstaller project and was surprised to see that it isn't more popular, especially since it bundles Python projects into a user-friendly format—an executable file! Why do you think there's not more widespread use of such a handy tool? Could it be related to its GPL licensing or something else?

6 Answers

Answered By LinuxLover56 On

I personally focus on applications that I can easily deploy via Git with tools like uv or poetry. I think many Python developers feel similarly. Plus, Python packaging is improving rapidly, so I’d rather see developers work on wheels and sdist packages. PyInstaller should really be considered as a deployment tool rather than a primary method.

Answered By CodeExplorer99 On

There are definitely better options out there that compile directly to machine code, offering more benefits. Plus, many developers prefer using package managers which are simpler than dealing with binaries like .exe files.

Answered By TechWhiz13 On

One big reason is that a lot of malware uses PyInstaller, which makes antivirus software, especially Windows Defender, really aggressive around it. While it works fine on your machine, downloads from untrusted sources can get flagged or even quarantined automatically. If you want your .exe to be trusted, you’d have to sign it with a certified authority, which costs money and requires renewals. That's a hassle that pushes a lot of users away from using it.

Answered By DevGuru27 On

Typically, for desktop apps, it’s more common to use languages like C, Rust, or C# for better performance. A lot of backend applications deploy with Docker, so PyInstaller isn’t always the go-to option.

Answered By CodeNinja88 On

Many Python applications aren't meant to be distributed like traditional software you’d find online. They often run on servers or are part of core system functions where you wouldn't need to freeze the application into an executable format.

Answered By CasualDev678 On

Honestly, I can’t think of many scenarios where I’d need it. Do you have any examples of projects where using PyInstaller makes sense?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.