Pip: Clearing cache

free space

ever4st

13. Februar 2025February 13, 2025 · 1 Min. Lesezeit1 min read

pip cache will show how much space is taken from past download

(nostr) ever3st@Alashazam:~/Documents/dev/python/$ pip cache info
Package index page cache location: /home/ever3st/.cache/pip/http
Package index page cache size: 2437.7 MB
Number of HTTP files: 271
Wheels location: /home/ever3st/.cache/pip/wheels
Wheels size: 2.2 MB
Number of wheels: 2

About 2GB if space is needed it can be cleared

(nostr) ever3st@Alashazam:~/Documents/dev/python/$ pip cache purge
Files removed: 273
(nostr) ever3st@Alashazam:~/Documents/dev/python/bots/nostr$ pip cache info
Package index page cache location: /home/ever3st/.cache/pip/http
Package index page cache size: 0 bytes
Number of HTTP files: 0
Wheels location: /home/ever3st/.cache/pip/wheels
Wheels size: 326 bytes
Number of wheels: 0
#linux#pip#python

Written by

Comments

No comments yet. Start the conversation.