[Numpy-discussion] numpy1.4 dtype issues: scipy.stats & pytables
Tim Michelsen
timmichelsen at gmx-topmail.de
Mon Jan 11 05:10:33 EST 2010
Hello,
I experienced the following issue with numpy 1.4:
scipy.stats:
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on
win32
import scipy.stats as st
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python26\lib\site-packages\scipy\stats\__init__.py", line 7, in <module>
from stats import *
File "C:\Python26\lib\site-packages\scipy\stats\stats.py", line 203, in <module>
from morestats import find_repeats #is only reference to scipy.stats
File "C:\Python26\lib\site-packages\scipy\stats\morestats.py", line 7, in <module>
import distributions
File "C:\Python26\lib\site-packages\scipy\stats\distributions.py", line 27, in
<module>
import vonmises_cython
File "numpy.pxd", line 30, in scipy.stats.vonmises_cython
(scipy\stats\vonmises_cython.c:2939)
ValueError: numpy.dtype does not appear to be the correct type object
pytables:
import tables
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python26\lib\site-packages\tables\__init__.py", line 56, in <module>
from tables.utilsExtension import getPyTablesVersion, getHDF5Version
File "definitions.pxd", line 138, in tables.utilsExtension
ValueError: numpy.dtype does not appear to be the correct type object
Is this an error in numpy or no the other packages require update in the code?
Thanks,
Timmie
More information about the NumPy-Discussion
mailing list