[CentOS] Semi-OT: install python package in userspace

Valeri Galtsev
Fri, 06 Apr 2018 16:50:42 -0000

On Fri, April 6, 2018 11:42 am, Richard Demeny wrote:
> Just sudo it

This is exactly why I have big reservation in giving users sudo
permissions. If they need sudo on UNIX or Linux for small thing like this,
then they have no idea what they are doing and can easily screw the system
up. Not to mention regular user should not hahe these permissions on
multi-user system. If they know enough to not screw system up, they do not
need almighty permissions and are able to install what they need into
userspace. The last is the goal of the OP.

Valeri

>
> On Fri, 6 Apr 2018 17:25 , <m.roth at 5-cent.us> wrote:
>
>> CentOS 7 box. As there's no package in any of the repos, we're
trying to
>> install scikit-learn in the user's space. It refuses. My late try
was,
>> after d/l a .whl from last year, hoping that would work with the numpy
>> package in the regular repos, I did a pip install --user
>> scikit-learn...,
>> and it still seems to want to write to system space: OSError: [Errno
13]
>> Permission denied:
>> '/usr/lib64/python2.7/site-packages/numpy-1.7.1.dist-info
>>
>> Anyone got any pointers?
>>
>>        mark
>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> https://lists.centos.org/mailman/listinfo/centos
>>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247
++++++++++++++++++++++++++++++++++++++++