Skip to content
← Back to Community
can you guys upgrade pip
Profile icon
h
has Hacker Plan
benstedadam

its returning an error saying pip is outdated. can you guys update it.

Voters
Profile icon
kelpar26
Profile icon
PowerSvc
Profile icon
TobyS
Profile icon
benstedadam
Comments
hotnewtop
Profile icon
mat1

Are there any specific reasons you need pip updated for? If so, please make a post on the feedback board.

Profile icon
AzureScripts

@mat1 can't you just use python's sys thing? or whatever it is to run commands?

Profile icon
ash15khng

@AzureScripts You can, but normally there's no real need to upgrade pip.

Profile icon
Gbit

@mat1 The pip version that poetry uses is outdated which means that some packages cannot be installed unless you manually upgrade pip in the shell. However everything you install using shell gets reset at some point in replit. I´m still trying to figure out a solution to make poetry update pip automatically.

Profile icon
stepulazapletal

just go to shell and type "pip install --upgrade pip"

Profile icon
Geocube101

Try adding

from os import system system('pip install --upgrade pip')

to the beginning of your code