Forum Archive

Stash pip update ...

markhamilton1

Is anyone else experiencing an error with Stash when using pip update?

I am trying to update a number of the modules in Pythonista and when I use pip update I get an error.

As an example I am trying to run:

pip update certifi

and I get the error:

Error: package not installed: certifi

however it IS installed, but is an old version.

Thanks for any input.

JonB

@markhamilton1 you might try either deleting certifi out of site-packages, or do pip install instead. At some point stash was changed to use a different site-packages, so might be looking in the wrong one. Or, specify the --directory argument.

bennr01

@markhamilton1 If you are running on StaSh v0.7.0 or newer, the default package installation directory has changed. If you want to update the old packages, add -6 to the command (e.g. pip -6 update certifi).

low

Make sure that stash has the ability to overwrite the existing version. Make sure stash is updating the correct directory, and then maybe rename the existing version or delete it.