Skip to content
← Back to Community
Hide Repl.It: Updating package configuration output after Run
Profile icon
kassandraorozco

Once I click Run, Repl.it outputs the following message while package dependencies are being installed:

Repl.it: Updating package configuration

--> python3 -m poetry install
Installing dependencies from lock file ...

I understand that this is necessary for my code to run properly, but the load takes > 20 seconds. The same packages are being updated and installed even if I just ran my script seconds ago. To me, my packages are clearly up to date, so why does it need to run again. Is it possible to hide this output or skip it, and have the packages already installed / updated prior to running?

I read somewhere that referencing the 4 packages being installed / configured in a requirements.txt solve this might solve this. Is this true, and if so is there an example requirements.txt file provided by Repl.it?

Voters
Profile icon
Skiicats
Profile icon
Nikhil-Malviya
Profile icon
BeksaidAbdigapa
Profile icon
11irishjs
Profile icon
JoyXinran
Profile icon
compgamer
Profile icon
GreeenBean
Profile icon
kassandraorozco
Comments
hotnewtop
Profile icon
CodeLongAndPros

This is because of a “Server switch”. On the repl backend, you connect to a server that runs your code. Not all servers may have the stuff you need.

Profile icon
Voxylem

Hello, did you find a solution ?

Profile icon
BurnDownTheWorl

The only thing that bothers me, is it stopping in the middel, and deciding to update

Profile icon
Voxylem

@BurnDownTheWorl Did you find a way to solve this problem? I'm making a discord bot and it randomly stops because of this

Profile icon
TheRandomDev

@Voxylem yeah. I am facing the same issue. My discord bot stops when replit updates the packages randomly :(

Profile icon
Voxylem

@TheRandomDev After making some researches I think it's just how replit work, it regularly changes server and need to reinstall packages each time. The only solution I see would be to host your bot on a dedicated server or something like a raspberry pi

Profile icon
TheRandomDev

@Voxylem yeah. Can you suggest me some free hosting service for discord bots?

Profile icon
Voxylem

@TheRandomDev tbh I think replit is the best one, most of the other ones are not free. But if you don't wanna pay a subscription I really recommend you to try get a raspberry pi and hosting your bot on it.

Profile icon
TheRandomDev

@Voxylem mhm thanks!

Profile icon
sayantanbbb

rather than clicking on the run button go to shell tab and type python main.py.This is one way other than that you can go to the github repo of the package you are using and clone it by typing git clone <ur package github repo> which will save it to hardrive

Profile icon
TheForArkLD
  1. get package’s content
  2. load
Profile icon
kassandraorozco

@TheForArkLD Can you provide an example?

Profile icon
TheForArkLD

@kassandraorozco idk how to do it

Profile icon
crown55

@TheForArkLD not helpful