pip issue

Thomas Passin list1 at tompassin.net
Wed Nov 30 14:34:25 EST 2022


On 11/30/2022 1:49 PM, Gisle Vanem via Python-list wrote:
> Dieter Maurer wrote:
> 
>>> Otherwise no issues. But where is this text "-arkupsafe" stored
>>> and how to get rid it it? I've searched through all of my .pth
>>> files and found no such string.
>>
>> Have you looked at the content of the folder mentioned
>> in the warnings (e.g. `...\site-packages`).
> 
> I had 2 folders named:
>    site-packages\~arkupsafe\
>    site-packages\~arkupsafe-2.1.1.dist-info\
> 
> Removing those, the problem was gone.
> 
> So perhaps this tilde '~' means something special
> for pip?


I've seen things like this before.  Those directories - the ones 
starting with "~" - seem to be used for backing up a package (it could a 
dependency that is required by the package you are installing) before 
installing a newer version.  I think that somehow pip applies wrong file 
permissions that prevent it from removing the backup directory at the 
end.  The issue does not affect the successful installation of the newer 
version.  I have been able to remove these directories myself afterwards 
with no problems.



More information about the Python-list mailing list