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

Fri Apr 6 16:40:56 UTC 2018
Valeri Galtsev <galtsev at kicp.uchicago.edu>

On Fri, April 6, 2018 11:25 am, 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?

I would take a look at the dependencies it is trying to install and will
install them first one at a time into userspace. It looks that --user flag
is not being passed to the installation of dependencies.


>        mark
> _______________________________________________
> 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