Memory error while using pip install Airflow

Posted Love AI

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Memory error while using pip install Airflow相关的知识,希望对你有一定的参考价值。

File /home/ubuntu/venv/venv/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/serialize.py, line 87, in dumps     ).encode(utf8),

MemoryError

 

 

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 environent, 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 airflow

以上是关于Memory error while using pip install Airflow的主要内容,如果未能解决你的问题,请参考以下文章

Error: Error occured while starting App. Original error: Activity used to start app doesn't exis

nodejs SSL Error: CERT_UNTRUSTED while using npm command 错误

ERROR TypeError: $(...).DataTable is not a function while using in angular 4

SLES 12: Database Startup Error with ORA-27300 ORA-27301 ORA-27303 While Starting using Srvctl (Doc

Idea中配置svn时报 Can't use Subversion command line client: svn.Errors found while svn working copies

Reset Peak Used Memory