I will give it a try. Thank you!
-----Original Message----- From: Aaron O'Leary [mailto:[email protected]] Sent: Thursday, September 25, 2014 9:42 AM To: [email protected] Subject: Re: [Scikit-learn-general] sklearn on CentOS Hi Roberto, I develop on CentOS 5.5 and use Anaconda with no issues. Enthought Canopy also works fine. Give anaconda a try, as it is easy to get set up: http://docs.continuum.io/anaconda/install.html Otherwise, I'd avoid using yum and just use pip to install the python packages that you want, ideally in a virtualenv. aaron On 25 September 2014 14:17, Pagliari, Roberto <[email protected]> wrote: > Hi All, > I used yum to install numpy and scipy. I stried with CentOS for external > constraints. I will try to use, at least, a more recent version. > > Thank you, > > > -----Original Message----- > From: Kyle Kastner [mailto:[email protected]] > Sent: Thursday, September 25, 2014 9:14 AM > To: [email protected] > Subject: Re: [Scikit-learn-general] sklearn on CentOS > > To be honest - updating python packages on CentOS is a nightmare. The > whole OS is pretty strongly dependent on python version, which I > believe is up to 2.6 now (2.4 in 5.x!). In my experience CentOS is the > worst Linux OS for development (heavily locked down, hard to add > packages, yum is annoying, even getting linux headers and source is > not super easy, etc.). That said, sometimes people use what they have > to use :) > > My advice (like Andy) is to use Continuum Anaconda (not to be confused with > the CentOS Python based installer *also* named anaconda...) or Enthought > Python Distribution. This *should* let you avoid the OS level problems with > CentOS. Alternatively, you can add some expansion repos to your package > config and get access to a lot more than the base packages. > > Check out EPEL - it supports a fair number of additional packages if you > *absolutely* can't add a folder to your home directory... > http://www.cyberciti.biz/faq/installing-rhel-epel-repo-on-centos-redha > t-7-x/ > > On Thu, Sep 25, 2014 at 8:44 AM, Andy <[email protected]> wrote: >> Hi Roberto. >> How are you trying to install scikit-learn, and how did you install >> scipy and numpy? >> There is a mismatch in the numpy and scipy you installed. >> >> I couldn't find a list of packages of CentOS packages online. >> CentOS 6.5 seems pretty out of date (Python2.6), and the version of >> numpy you have installed is actually not supported by scikit-learn any more. >> >> If you want the easy way out, you can install a bundle like Anaconda >> by Continuum, which will contain its own Python, scipy, numpy and >> scikit-learn. >> http://continuum.io/downloads >> >> Alternatively you could remove the existing numpy and scipy and >> reinstall numpy, scipy and scikit-learn using pip (I have never tried that). >> >> Hth, >> Andy >> >> >> >> On 09/25/2014 01:02 AM, Pagliari, Roberto wrote: >> >> I’m getting this while installing sklearn on a CentOS 6.5 machine >> >> >> >> /usr/lib64/python2.6/site-packages/scipy/__init__.py:120: UserWarning: >> Numpy >> 1.5.1 or above is recommended for this version of scipy (detected >> version >> 1.4.1) >> >> UserWarning) >> >> RuntimeError: module compiled against API version 9 but this version >> of numpy is 4 >> >> >> >> Is there a way to install it with yum? I’m not finding scikit in the repo. >> >> >> >> Thanks >> >> >> >> >> >> --------------------------------------------------------------------- >> - >> -------- Meet PCI DSS 3.0 Compliance Requirements with EventLog >> Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI >> DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download >> White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with >> EventLog Analyzer >> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg. >> clktrk >> >> >> >> _______________________________________________ >> Scikit-learn-general mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general >> >> >> >> --------------------------------------------------------------------- >> - >> -------- Meet PCI DSS 3.0 Compliance Requirements with EventLog >> Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI >> DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download >> White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with >> EventLog Analyzer >> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg. >> clktrk _______________________________________________ >> Scikit-learn-general mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general >> > > ---------------------------------------------------------------------- > -------- Meet PCI DSS 3.0 Compliance Requirements with EventLog > Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI > DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download > White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with > EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg. > clktrk _______________________________________________ > Scikit-learn-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/scikit-learn-general > ---------------------------------------------------------------------- > -------- Meet PCI DSS 3.0 Compliance Requirements with EventLog > Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI > DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download > White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with > EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg. > clktrk _______________________________________________ > Scikit-learn-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/scikit-learn-general ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
