[MSNoise] scikits.samplerate
Thomas Lecocq
Thomas.Lecocq at seismology.be
Thu Oct 17 22:17:56 UTC 2013
Carolin,
How did you install scikits.samplerate ? Looking at the traceback, there
seems to be a tmp/ somewhere that is executed...
Thom
Envoyé avec AquaMail pour Android
http://www.aqua-mail.com
Le 17 octobre 2013 21:51:27 Carolin Boese <carolinboese at yahoo.de> a écrit :
>
>
> Hi Thom,
>
> thank you for your suggestion to update numpy and scipy.
>
> $ python -c "import numpy; print numpy.__version__"
> 1.7.1
> $ python -c "import scipy; print scipy.__version__"
> 0.12.0
>
> I updated scipy from 0.12.0 to 0.12.1 but still have the same problem. Do
> you have any other idea?
>
>
> Thanks a lot in advance
> Carolin
>
>
> ________________________________
> Von: Thomas Lecocq <thomas.lecocq at seismology.be>
> An: msnoise at mailman-as.oma.be Gesendet: 19:34 Mittwoch, 16.Oktober 2013
> Betreff: Re: [MSNoise] scikits.samplerate
>
>
> 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.samplerate after 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
> _______________________________________________
> MSNoise mailing list
> MSNoise at mailman-as.oma.be
> http://mailman-as.oma.be/mailman/listinfo/msnoise
> _______________________________________________
> MSNoise mailing list
> MSNoise at mailman-as.oma.be
> http://mailman-as.oma.be/mailman/listinfo/msnoise
More information about the MSNoise
mailing list