Pip install not working

I’ve finally added buttons to my discord bot. I’ve used the command pip install --upgrade discord.py in my shell and all was working fine. Until I restarted my bot to realize that I had to re do the whole command. Every time my bot restarts the same thing happens. Its like it uninstalls every time. Can anyone help me fix this?

Welcome to the forums! Enlighten a Python noob, what does this command do?

Does exactly what you’d expect it to.

You need to use Replit’s package manager for the changes to persist on Replit.


Oh, I know what pip install does. I just wanted to know what the --upgrade part did.

1 Like

Oh. That I do not know.

I tried that too to install jsf. I am still having error.

try pip uninstall discord.py then try installing the latest version

Pulling from an older post of @UMARismyname’s that seems like it will fix this issue.

1 Like