报错以下,看最后一行的memory error关键字:python
报错的缘由大体以下:(详细细节能够查看此处)
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.
解决办法:加个参数便可:spa
pip --no-cache-dir install pyspark