Skip to content
← Back to Community
How to uninstall packages
Profile icon
LTI2

I imported something, I don't want it to load every time it runs. How do I unimport it? (Python)

Answered by gibbsfreenergy [earned 5 cycles]
View Answer
Voters
Profile icon
dillonjoshua68
Profile icon
LTI2
Comments
hotnewtop
Profile icon
gibbsfreenergy

Just delete it!

Profile icon
LTI2

@JosephSanthosh i could make a new repl and copy and paste not the best though, but works

Profile icon
LTI2

@JosephSanthosh thanks it worked

Profile icon
LOloK1

@gibbsfreenergy Is there a way to delete it and not have it appear back the second it gets uninstalled?

Profile icon
LTI2
Profile icon
gibbsfreenergy

@LTI2 Happy to help!

Profile icon
Coder100

Sorry, but all packages are automatically installed. You can configure this:
create a .replit file:

run="python main.py"

Now it will just run it. Hopes this works!

Profile icon
SixBeeps

Is is a package running through pip?

Profile icon
LTI2

@SixBeeps no i don't think so