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(a)seismology.be>
An: msnoise(a)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(a)mailman-as.oma.be
http://mailman-as.oma.be/mailman/listinfo/msnoise
_______________________________________________
MSNoise mailing list
MSNoise(a)mailman-as.oma.be
http://mailman-as.oma.be/mailman/listinfo/msnoise
From Thomas.Lecocq(a)seismology.be Thu Oct 17 22:18:33
2013
Return-Path: <Thomas.Lecocq(a)seismology.be>
X-Original-To: msnoise(a)mailman-as.oma.be
Delivered-To: msnoise(a)mailman-as.oma.be
Received: from mirapoint7.brutele.be (mirapoint7.brutele.be [212.68.199.151])
by mailman-as.oma.be (Postfix) with ESMTP id CC27F20568
for <msnoise(a)mailman-as.oma.be>be>; Thu, 17 Oct 2013 22:18:33 +0000 (UTC)
Received: from [192.168.123.101] ([78.129.81.135])
by mirapoint7.brutele.be (MOS 4.3.4-GA) with ESMTP id HVL02938;
Fri, 18 Oct 2013 00:17:56 +0200
From: Thomas Lecocq <Thomas.Lecocq(a)seismology.be>
To: <msnoise(a)mailman-as.oma.be>
Date: Fri, 18 Oct 2013 00:17:56 +0200
Message-ID: <141c87f1a38.27ad.4a38552eade4695b277228d065f3c0d2(a)seismology.be>
In-Reply-To: <1382039487.41667.YahooMailNeo(a)web172804.mail.ir2.yahoo.com>
References: <1381866561.91845.YahooMailNeo(a)web172804.mail.ir2.yahoo.com>
<525E3393.2060802(a)seismology.be>
<1382039487.41667.YahooMailNeo(a)web172804.mail.ir2.yahoo.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
rv:9.0) Gecko/20111222 Thunderbird/9.0.1 AquaMail/1.2.5.5 (build:
2100355)
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"; format=flowed
Content-Transfer-Encoding: 8bit
X-Junkmail-Status: score/50, host=mirapoint7.brutele.be
X-Junkmail-Signature-Raw: score=unknown,
refid=str01.0A0B0209.52606214.0039, ss=1, re=0.000, recu=0.000,
reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0,
so 11-11-01 07:33:11, dmn 13-04-19 10:07:54,
mode=single engine
X-Junkmail-IWF: false
Subject: Re: [MSNoise] scikits.samplerate
X-BeenThere: msnoise(a)mailman-as.oma.be
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: Python Package for Monitoring Seismic Velocity Changes using
Ambient Seismic Noise <msnoise(a)mailman-as.oma.be>
List-Id: Python Package for Monitoring Seismic Velocity Changes using Ambient
Seismic Noise <msnoise.mailman-as.oma.be>
List-Unsubscribe: <http://mailman-as.oma.be/mailman/options/msnoise>,
<mailto:msnoise-request@mailman-as.oma.be?subject=unsubscribe>
List-Archive: <http://mailman-as.oma.be/pipermail/msnoise/>
List-Post: <mailto:msnoise@mailman-as.oma.be>
List-Help: <mailto:msnoise-request@mailman-as.oma.be?subject=help>
List-Subscribe: <http://mailman-as.oma.be/mailman/listinfo/msnoise>,
<mailto:msnoise-request@mailman-as.oma.be?subject=subscribe>
X-List-Received-Date: Thu, 17 Oct 2013 22:18:34 -0000
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(a)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(a)seismology.be>
An: msnoise(a)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(a)mailman-as.oma.be
http://mailman-as.oma.be/mailman/listinfo/msnoise
_______________________________________________
MSNoise mailing list
MSNoise(a)mailman-as.oma.be
http://mailman-as.oma.be/mailman/listinfo/msnoise
_______________________________________________
MSNoise mailing list
MSNoise(a)mailman-as.oma.be
http://mailman-as.oma.be/mailman/listinfo/msnoise