Re: Semi-OT: install python package in userspace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



python has nothing to do with snakes. it was named after a television show..

On Fri, Apr 6, 2018 at 7:53 PM, Valeri Galtsev <galtsev@xxxxxxxxxxxxxxxxx>
wrote:

>
>
> On 04/06/18 13:51, Ulf Volmer wrote:
>
>> On 06.04.2018 18:25, m.roth@xxxxxxxxx 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
>>>
>>
>> can't reproduce your issue:
>>
>> [ulf@centos7-x1 ~]$ pip install --user scikit-learn
>> Collecting scikit-learn
>>    Downloading scikit_learn-0.19.1-cp27-cp27mu-manylinux1_x86_64.whl
>> (12.2MB)
>>      100% |████████████████████████████████| 12.2MB 101kB/s
>> Installing collected packages: scikit-learn
>> Successfully installed scikit-learn-0.19.1
>> You are using pip version 8.1.2, however version 9.0.3 is available.
>> You should consider upgrading via the 'pip install --upgrade pip' command.
>>
>> But on my testbox, i'm not sucessful to use the system numpy and scipy
>> packages. i had to install them using pip.
>>
>
> Python is a  "sneaky snake" ;-)
>
> Valeri
>
>
>> best regards
>> Ulf
>> _______________________________________________
>> CentOS mailing list
>> CentOS@xxxxxxxxxx
>> 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
> ++++++++++++++++++++++++++++++++++++++++
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos
>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux