I'm installing a package through pip, but it fails due to lack of space (IOError: [Errno 28] No space left on device
). The only filesystem with lack of space is /dev/sda2. I don't quite understand why it's full or what files are on it, but I purged old kernels to make more space. Apparently it was not enough free space as when I tried to install the package again, it failed.
After the attempted installation less space was available, which makes me think that some files from the attempted installation must still remain in a pip directory. How do I remove these files that are left behind by an attempted installation?
Also removing other unused files in pip directorys would be great. I'm on Linux 14.04.