On Wed, 2 May 2018 09:48:36 -0400
Todd Zullinger <tmz(a)pobox.com> wrote:
Ian Pilcher wrote:
> Is it possible to get $SUBJECT working? I need to install 'grip'
> from
https://github.com/joeyespo/grip, and trying to do so as a
> normal user isn't working (permission denied errors trying to write
> to /usr/lib/python2.7/site-packages).
I believe you need to add the --user option. That may
become the default at some point, but it looks like it isn't
yet for pip (I didn't check if pip3 defaults to --user).
This works for me: pip install --user grip
And if you want to decide where pip will install to with the --user
option, put something like this in your .bashrc
PYTHONUSERBASE=/home/[your user]/src/usr/lib64/python2.7/site-packages
export PYTHONUSERBASE