Debian/Ubuntu pip default install to $HOME/.local

pip default install to $HOME/.local on Debian/Ubuntu

After pip 8.1.1-2 on Debian or Ubuntu you can pip install package without root user, which default to install to user home $HOME/.local.

The patch add logic that install user home while you not running virtualenv or root user, and it add a argument --system to overrides --user.

Debian patch

Github issue

posted on 2017-10-05 11:51  eshizhan  阅读(414)  评论(0编辑  收藏  举报