[MSNoise] scikits.samplerate

Thomas Lecocq thomas.lecocq at seismology.be
Wed Oct 16 06:34:59 UTC 2013


Hi Carolin,

This is probably an issue related to versions of numpy and/or scipy.

Can you post the output of :

$ python -c "import numpy; print numpy.__version__"
$ python -c "import scipy; print scipy.__version__"

And maybe try to update numpy and scipy :

$ easy_install -U numpy scipy

Note, this might break other routines that depend on numpy (I usually 
don't care so much).

Best regards

Thomas

Le 15/10/2013 21:49, Carolin Boese a écrit :
> Dear Msnoise-users,
>
> I am getting the error below when I was trying to compute the cross-correlation.  I installed the package using easy_install scikits.samplerateafter downloading package libsamplerate via macports. I am running MSnoise on Os Mountain lion on Mac.
>
>
> python 03.compute_cc.py
> Traceback (most recent call last):
>    File "03.compute_cc.py", line 6, in <module>
>      from scikits.samplerate import resample
>    File "/Library/Python/2.7/site-packages/scikits.samplerate-0.3.3-py2.7-macosx-10.8-intel.egg/scikits/samplerate/__init__.py", line 6, in <module>
>      from _samplerate import resample, available_convertors, src_version_str, \
>    File "numpy.pxd", line 43, in scikits.samplerate._samplerate (/private/tmp/easy_install-2i6LTa/scikits.samplerate-0.3.3/scikits/samplerate/_samplerate.c:3807)
> ValueError: numpy.dtype does not appear to be the correct type object
>
> Thanks a lot for your help,
> Carolin
> _______________________________________________
> MSNoise mailing list
> MSNoise at mailman-as.oma.be
> http://mailman-as.oma.be/mailman/listinfo/msnoise


More information about the MSNoise mailing list