码迷,mamicode.com
首页 > 其他好文 > 详细

Memory error while using pip install Airflow

时间:2017-03-10 14:04:43      阅读:513      评论:0      收藏:0      [点我收藏+]

标签:--   dump   atp   ble   one   useful   title   serialize   before   

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

标签:--   dump   atp   ble   one   useful   title   serialize   before   

原文地址:http://www.cnblogs.com/turingbrain/p/6530373.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!