Repl installing packages every time a program is used?
ardit700

Repl installs packages simply by readng the import statements in the Python code, which is cool, but it installs a package every time a user runs the code.

I am loving Repl, but installing packages every time is making Repl.it useless. I cannot distribute it to people because it takes a lot of time to make the program ready for execution. Every time I load the repl.run URL of my program it starts with the message:

--> python3 -m poetry install
Installing dependencies from

and then carries on to install all packages imported in the program. I even tried to install the packages beforehand through the Packages menu, but still the same happens when I try to run the program.

Is there a solution to this?

You are viewing a single comment. View All
CodeLongAndPros

@ardit700

The repl.run interface is not an IDE.

It's not. I agree. But is Python IDLE a dev enrioment? Yes. But Python is also, in a R.E.P.L.

But overall, repl.it is first a dev environment. If you want less packages, you have use less.

If you want a computer GUI (Kde, GNOME), you have to have X. You have to have all that X needs. Repl just installs everything at once, because it hops servers. I use repl for website hosting, and it works. But hosting a desktop app on repl.run? Not a good idea. For me repl.run doesn't work.

Again, your clients are also just used to double clicking the *.exe file, like all Windows users. I don't think that installing software is such a hurdle. You can put is on GitHub and give them the download link. You can even make a deb and put it on Debain-Main.