Pip install - killed

I am trying to install a package with pip on an Ubuntu server:

$ pip install MySQLdb
Downloading/unpacking MySQLdb
Killed

And they are killing him. The server has enough free RAM. Why is he killed?

UPD Logs:

Out of memory: Kill process 6627 (pip) with a result of 297 or sacrifice a child

This is strange because I have about 150 MB of free memory.

+4
source share
2 answers

You need to check the logs, depending on the version of ubuntu etc., it should be in /var/log/messagesor at least in /var/logso that you can grep python or pip in this folder. This should contain clues.

, virtualenv, sudo () , lib.

+5

, pip install package --no-cache-dir

0

All Articles