Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pip install Killed [duplicate]

Every time when I try to install some package, I get:

(ecz) root@zakazatdostavku:/opt# pip install django gunicorn
Collecting django
  Downloading Django-1.11-py2.py3-none-any.whl (6.9MB)
    99% |████████████████████████████████| 6.9MB 11.6MB/s eta 0:00:01Killed

Here is the link on --verbose version https://github.com/AnSharipov/restrict-same-words/blob/a4b2b4ed47c376ca15bbc19569e72cd3a4533292/log

like image 893
Mr.Freeman Avatar asked Apr 06 '17 03:04

Mr.Freeman


People also ask

How do I clear my pip cache?

If you want to force pip to clear out its download cache and use the specific version you can do by using --no-cache-dir command. If you are using an older version of pip than upgrade it with pip install -U pip. This will help you clear pip cache.

Are pip installs safe?

By default, pip does not perform any checks to protect against remote tampering and involves running arbitrary code from distributions. It is, however, possible to use pip in a manner that changes these behaviours, to provide a more secure installation mechanism.

What is the flag option used to install a fresh Python library without getting it from cache?

--no-cache-dir Disable the cache.


1 Answers

I had to increase free RAM. After that everything works fine

like image 78
Mr.Freeman Avatar answered Sep 24 '22 19:09

Mr.Freeman