On Tue, Sep 18, 2012 at 12:05:14AM +0800, David Montgomery wrote:
> I built numpy then scipy then scikits but using pip --upgrade for sckits

> >>     from scipy.spatial import distance
> >>   File "/usr/lib/python2.6/dist-packages/scipy/spatial/__init__.py",
> >> line 7, in <module>
> >>     from ckdtree import *
> >>   File "numpy.pxd", line 30, in scipy.spatial.ckdtree
> >> (scipy/spatial/ckdtree.c:6087)
> >> ValueError: numpy.dtype does not appear to be the correct type object

Actually, it seems that the problem really is in scipy (try 'from scipy
import spatial'). It is scipy that didn't get rebuilt properly. You
probably rebuilt it, but didn't install it to a location that Python
picks up for imports.

Gael

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to