Ask coding questions

← Back to all posts
REPLIT package configuration is broken
NastyPigz

REPLIT keeps automatically adding new packages, and those packages are erroring and making package operation fail EVERY SINGLE TIME.

when I go in shell and run "python3 main.py", everything works perfectly fine without that package

Voters
NastyPigz
Comments
hotnewtop
xfinnbar

You should email [email protected] They can help fix this.

NastyPigz

@xfinnbar Actually, I think after waiting a while your method worked!
but the only issue rn, is that all my client sessions aren't automatically closing when I click "stop"

xfinnbar

You could just not use poetry. Create a file called .replit and inside it enter this:

Then put all your dependencies in a file called requirements.txt:

NastyPigz

@xfinnbar my console is going nuts and spamming something like
Replit: Updating Package Confirguation
---> python3 -m poetry init ....
...
exit status 1

but I have a .replit file

NastyPigz

@NastyPigz Replit: Updating package configuration

--> python3 -m poetry init --no-interaction --name repl_python3_beta_get-cocaine
/opt/virtualenvs/python3/bin/python3: No module named poetry.main; 'poetry' is a package and cannot be directly executed
exit status 1