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

Valeri Galtsev galtsev at kicp.uchicago.edu
Fri Apr 6 19:11:44 UTC 2018



On 04/06/18 13:58, Richard Demeny wrote:
> python has nothing to do with snakes. it was named after a television show..

As one comedian said: sense of humor is a money: either you have it or 
don't ;-) No offense intended, just trying to make Friday brighter...

Valeri

PS And Jupyter has nothing to with planetary system and misspelling. 
Just a crapy way to call a project IMHO. Probably almost as bad as 
"MacOS X". Did you try to search for the last one any time during the 
first year if its existence? Then you know what I mean. Yes, people with 
the brain finally switched to using numbers: "10"...

> 
> On Fri, Apr 6, 2018 at 7:53 PM, Valeri Galtsev <galtsev at kicp.uchicago.edu>
> wrote:
> 
>>
>>
>> On 04/06/18 13:51, Ulf Volmer wrote:
>>
>>> On 06.04.2018 18: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
>>>>
>>>
>>> can't reproduce your issue:
>>>
>>> [ulf at 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 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
>> ++++++++++++++++++++++++++++++++++++++++
>> _______________________________________________
>> 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
++++++++++++++++++++++++++++++++++++++++



More information about the CentOS mailing list