Skip to content
How to STOP automatic Poetry install
Profile icon
TheWhiteShadow

How can I stop automatic poetry install? My package can not be installed via poetry so I'm instead doing pip install on .replit file. However, when I run my code, it automatically adds the package into poetry and gives me an error, which can be easily resolved is it doesn't automatically runs this commands!!!
python3 -m poetry init --no-interaction
and
python3 -m poetry add mask-predictor

You are viewing a single comment. View All
Profile icon
RYANTADIPARTHI

No, you can't do that. When you import something, it has to make those installations.

Profile icon
TheWhiteShadow

@RYANTADIPARTHI
Yes, it will if you have it installed previously. However, I found that Repl already has something for this.

Profile icon
RYANTADIPARTHI
Profile icon
AnnasVirtual

@RYANTADIPARTHI
the problem is it's intall the wrong package