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

Reply via email to