Skip to content

How to clear pip cache safely? #4830

@zaazbb

Description

@zaazbb

I want to known that how to clear pip cache safely?

1, Does pip have a cmd like "apt-get clean" to remove all the cached packages to make my system image smaller?
2, Can i remove /boot/.cache/pip and ~/.cache/pip manually?(use "sudo rm -rf /boot/.cache/pip" and "sudo rm -rf ~/.cache/pip")?
3, Does pip and pip3 use the same cache dir( /boot/.cache/pip and ~/.cache/pip)?

thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: cacheDealing with cache and files in itauto-lockedOutdated issues that have been locked by automationtype: supportUser Support

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions