I am using Python 2.7, If i try to install Matplotlib I am getting this error if i use \"pip install matplotlib\"
Exception:
Traceback (most recent call l
This error is coming up because, it seems, pip's caching mechanism is trying to read the entire file into memory before caching it… which poses a problem in a limited-memory environment, as matplotlib is ~50mb.
A simpler solution, until pip is patched to use a constant-space caching algorithm, is to run pip with --no-cache-dir to avoid the cache:
$ pip --no-cache-dir install matplotlib