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

2018-04-10 Thread Keith Keller
On 2018-04-10, Richard Grainger wrote: > If you can use python3 rather than python2, it looks like the > dependencies in the standard repos are new enough. SCL might be an option for providing a more recent python. I'm not sure if scikit is in SCL too, but I'm pretty sure

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

2018-04-10 Thread David C. Miller
David Miller. - Original Message - > From: "m roth" <m.r...@5-cent.us> > To: "CentOS mailing list" <centos@centos.org> > Sent: Friday, April 6, 2018 12:04:43 PM > Subject: Re: [CentOS] Semi-OT: install python package in userspace > Valeri

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

2018-04-10 Thread Richard Grainger
If you can use python3 rather than python2, it looks like the dependencies in the standard repos are new enough. Do you want me to have a go at packaging scikit-learn for python3 and adding it to the repo? On Tue, Apr 10, 2018 at 9:51 AM, Richard Grainger wrote: > Just had a

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

2018-04-10 Thread Richard Grainger
Just had a look at scikit-learn. An issue you have with the current version of this package is that is depends on NumPy (>= 1.8.2). The version of NumPy in CentOS 7 base is 1.7.1. You may need to look at building a Python virtual environment. You can google that ;) On Tue, Apr 10, 2018 at 9:43

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

2018-04-10 Thread Richard Grainger
I created the epypel (Extra Extra Python Packages for Enterprise Linux) yum repo for exactly this reason: https://harbottle.gitlab.io/epypel/ There are a bunch of additional Python 2 and Python 3 packages there and if you want any added, please put in a request here:

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

2018-04-10 Thread Pete Biggs
On Mon, 2018-04-09 at 09:15 -0700, Paul Heinlein wrote: > On Sat, 7 Apr 2018, Pete Biggs wrote: > > > > Does CentOS changed the package management? :-) > > > > Quite. > > > > This is not an Ubuntu dig, but when I challenge some of the users > > about the more dangerous sudo's they try,

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

2018-04-09 Thread Liam O'Toole
On 2018-04-09, Valeri Galtsev wrote: > > > On 04/09/18 11:15, Paul Heinlein wrote: >> On Sat, 7 Apr 2018, Pete Biggs wrote: >> Does CentOS changed the package management? :-) >>> >>> Quite. >>> >>> This is not an Ubuntu dig, but when I challenge some of the users

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

2018-04-09 Thread Valeri Galtsev
On 04/09/18 11:15, Paul Heinlein wrote: On Sat, 7 Apr 2018, Pete Biggs wrote: Does CentOS changed the package management? :-) Quite. This is not an Ubuntu dig, but when I challenge some of the users about the more dangerous sudo's they try, inevitably they say they got the command from

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

2018-04-09 Thread Paul Heinlein
On Sat, 7 Apr 2018, Pete Biggs wrote: Does CentOS changed the package management? :-) Quite. This is not an Ubuntu dig, but when I challenge some of the users about the more dangerous sudo's they try, inevitably they say they got the command from the net, and by that they usually mean

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

2018-04-07 Thread Pete Biggs
On Sat, 2018-04-07 at 12:23 +0200, Leon Fauster wrote: > > Am 07.04.2018 um 01:41 schrieb Pete Biggs : > > > > On Fri, 2018-04-06 at 11:50 -0500, Valeri Galtsev wrote: > > > On Fri, April 6, 2018 11:42 am, Richard Demeny wrote: > > > > Just sudo it > > > > > > This is exactly

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

2018-04-07 Thread Leon Fauster
> Am 07.04.2018 um 01:41 schrieb Pete Biggs : > > On Fri, 2018-04-06 at 11:50 -0500, Valeri Galtsev wrote: >> 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

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

2018-04-06 Thread Pete Biggs
On Fri, 2018-04-06 at 11:50 -0500, Valeri Galtsev wrote: > 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

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

2018-04-06 Thread Ulf Volmer
On 06.04.2018 21:04, m.r...@5-cent.us wrote: > So, I'm working on trying to install scipy in the virtenv... and for > unknown reasons, it simply can't find the system libs. try to run 'pip install --upgrade pip' in your virtualenv. Fix the issue for me. best regards Ulf

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

2018-04-06 Thread Valeri Galtsev
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

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

2018-04-06 Thread Ulf Volmer
On 06.04.2018 20:53, Valeri Galtsev wrote: > On 04/06/18 13:51, Ulf Volmer wrote: >> 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" ;-) i will not doubt that. BTW: for Marc: if you often have

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

2018-04-06 Thread m . roth
Valeri Galtsev wrote: >>> On Fri, 6 Apr 2018 17:25 , 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

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

2018-04-06 Thread Richard Demeny
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 wrote: > > > On 04/06/18 13:51, Ulf Volmer wrote: > >> On 06.04.2018 18:25, m.r...@5-cent.us wrote: >> >>> CentOS 7 box. As there's no package

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

2018-04-06 Thread Valeri Galtsev
On 04/06/18 13:51, Ulf Volmer wrote: On 06.04.2018 18:25, m.r...@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

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

2018-04-06 Thread Ulf Volmer
On 06.04.2018 18:25, m.r...@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,

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

2018-04-06 Thread Valeri Galtsev
On 04/06/18 11:53, m.r...@5-cent.us wrote: Richard Demeny wrote: Just sudo it On Fri, 6 Apr 2018 17:25 , 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

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

2018-04-06 Thread Kenneth Porter
--On Friday, April 06, 2018 1:25 PM -0400 m.r...@5-cent.us wrote: Anyone got any pointers? Not a Python programmer but a quick google turned up some likely-looking resources: My google

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

2018-04-06 Thread m . roth
Richard Demeny wrote: > Just sudo it > > On Fri, 6 Apr 2018 17:25 , 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

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

2018-04-06 Thread Valeri Galtsev
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

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

2018-04-06 Thread Richard Demeny
Just sudo it On Fri, 6 Apr 2018 17:25 , 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

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

2018-04-06 Thread Valeri Galtsev
On Fri, April 6, 2018 11:25 am, m.r...@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

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

2018-04-06 Thread m . roth
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