Skip to content
Sign upLog in

Repl installing packages every time a program is used?

Profile icon

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 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 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

Does this "automatic install" feature still exist? As of today, repl seems to not automatically install packages. The user has to manually "pip install" them every time the Docker container is activated. This is awkward, to say the least. But the virtualenv's space is located under /opt/virtualenv and this is not part of the persistent docker volume.

Is there official documentation about this?