Skip to content
Sign upLog in

Repl installing packages every time a program is used?

Profile icon
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
Profile icon
ardit700

@CodeLongAndPros
Repl is not just an IDE. The repl.run interface is not an IDE. Yes, many people use Repl as an IDE, but I find it very convinient for clients to give them a URL (a repl.run endpoint) instead of an executable file.