Hello,
i had the same problem yesterday. To solve this problem i prefer tu use
homebrew to install the package and every things.
1) uninstall every things that u have installed with pip and the default python
(sudo pip uninstall scipy scikit-learn numpy)
2) follow this guide to install scipy and bumpy >>
http://joernhees.de/blog/2014/02/25/scientific-python-on-mac-os-x-10-9-with-homebrew/
N.B.: Pay attention to the path of your python!!! must be
/usr/local/bin/python!!!! to do this
echo export PATH=/usr/local/bin:$PATH >> ~/.bash_profile
3) which pip must return this path
/usr/local/bin/pip
so install scikit-learn with pip install scikit-learn
Have a nice day and enjoy scikit-learn
if u have problem ask me.
Marco
On 28 Aug 2014, at 08:25, Amita Misra <[email protected]> wrote:
> Hello,
>
> I had installed scikit-learn for Mac 10.9.2.
>
> since it showed dependencies, I used the wheel as mentioned in the website
>
> pip install -U numpy scipy scikit-learn , but when I import a cluster model
> it throws some warnings
> However if I use scikit-learn 0.14 then it does not give any exception.
>
> I tried uninstalling everything and installing again. Additionally I use
> virtual environment so there should not be any conflict with other versions
> installed elsewhere.
>
> I use python 2.7
>
>
>
> python2.7/site-packages/scipy/stats/_continuous_distns.py:24: RuntimeWarning:
> numpy.dtype size changed, may indicate binary incompatibility from . import
> vonmises_cython
>
> python2.7/site-packages/scipy/stats/_continuous_distns.py:24: RuntimeWarning:
> numpy.ufunc size changed, may indicate binary incompatibility from . import
> vonmises_cython
>
> python2.7/site-packages/scipy/stats/stats.py:188: RuntimeWarning: numpy.dtype
> size changed, may indicate binary incompatibility from ._rank import
> rankdata, tiecorrect
>
> python2.7/site-packages/scipy/stats/stats.py:188: RuntimeWarning: numpy.ufunc
> size changed, may indicate binary incompatibilityfrom ._rank import rankdata,
> tiecorrect
>
> python2.7/site-packages/scipy/spatial/__init__.py:90: RuntimeWarning:
> numpy.dtype size changed, may indicate binary incompatibility from .ckdtree
> import *
>
> python2.7/site-packages/scipy/spatial/__init__.py:90: RuntimeWarning:
> numpy.ufunc size changed, may indicate binary incompatibility from .ckdtree
> import *
>
> python2.7/site-packages/scipy/spatial/__init__.py:91: RuntimeWarning:
> numpy.dtype size changed, may indicate binary incompatibility from .qhull
> import *
>
> python2.7/site-packages/scipy/spatial/__init__.py:91: RuntimeWarning:
> numpy.ufunc size changed, may indicate binary incompatibility from .qhull
> import *
>
> python2.7/site-packages/scipy/interpolate/interpolate.py:28: RuntimeWarning:
> numpy.dtype size changed, may indicate binary incompatibility from . import
> _ppoly
>
> python2.7/site-packages/scipy/interpolate/interpolate.py:28: RuntimeWarning:
> numpy.ufunc size changed, may indicate binary incompatibility from . import
> _ppoly
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds. Stuff that matters.
> http://tv.slashdot.org/_______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general