Ask coding questions

← Back to all posts
Hide Repl.It: Updating package configuration output after Run
kassandraorozco (2)

Once I click Run, outputs the following message while package dependencies are being installed: 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

CodeLongAndPros (1622)

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.

Voxylem (0)

Hello, did you find a solution ?

BurnDownTheWorl (0)

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

Voxylem (0)

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

TheRandomDev (0)

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

Voxylem (0)

@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

TheRandomDev (0)

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

Voxylem (0)

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

TheForArkLD (770)
  1. get package’s content
  2. load