Disable automatic pip install

Hello,
I’m trying to use a python package called interactions-py to make a Discord bot and when I start my Repl, it automatically installs another package for Discord with poetry.

Is it possible to disable the automatic pip install with poetry on a Python Repl ?
Thanks

There’s supposed to be a toggle for it in .replit, but it doesn’t work. Here’s the workaround:

Friendly reminder that this does break the Packages tool.

2 Likes

Thanks for your message
I’ll try it even if i would prefer keeping Packages working :frowning:

Even though it breaks the packager, you can still use poetry directly from the Shell, which is what the packager calls under the hood. (It calls upm, which calls poetry)

3 Likes

You can actually tell the packager (upm) which specific package to import, so you don’t have to break the packager.

Edit: replit has fixed the configuration:

2 Likes