[Scipy-tickets] [SciPy] #1106: Cannot import cKDTree under windows.

SciPy Trac scipy-tickets@scipy....
Mon Feb 1 04:48:40 CST 2010


#1106: Cannot import cKDTree under windows.
---------------------------+------------------------------------------------
 Reporter:  fpedregosa     |       Owner:  peridot
     Type:  defect         |      Status:  new    
 Priority:  normal         |   Milestone:  0.8.0  
Component:  scipy.spatial  |     Version:  0.7.0  
 Keywords:                 |  
---------------------------+------------------------------------------------
 Using latest binary from sourceforge. No problem when using KDTree,
 though.

 $ python
 Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit
 (Intel)] on
 win32
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import scipy
 >>> scipy.__version__
 '0.7.1'
 >>> from scipy.spatial import cKDTree
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "c:\Python26\lib\site-packages\scipy\spatial\__init__.py", line 7,
 in <mo
 dule>
     from ckdtree import *
   File "numpy.pxd", line 30, in scipy.spatial.ckdtree
 (scipy\spatial\ckdtree.c:6
 087)
 ValueError: numpy.dtype does not appear to be the correct type object

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1106>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list