Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
572 views
in Technique[技术] by (71.8m points)

python - pip install - killed

I'm trying to install package with pip on Ubuntu server:

$ pip install MySQLdb
Downloading/unpacking MySQLdb
Killed

And it's getting killed. There is enough free RAM on server. Why it is killed?

UPD Logs:

Out of memory: Kill process 6627 (pip) score 297 or sacrifice child

Thats strange, because I have about 150 mb free RAM.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

If you are running low on memory you could try with pip install package --no-cache-dir


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...