報錯以下,看最後一行的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