from scikits import audiolab Traceback (most recent call last): File "C:\Python26\lib\site-packages\scikits\audiolab\__init__.py",
Hi List, Has anyone gotten scikits.audiolab working with python 2.6? Here is the error I get on a clean Python 2.6 install with numpy and audiolab installed (using the audiolab 0.10.2 installer for py2.6 I downloaded from pypi, and a clean Win XPSP3 install): line 25, in <module> from pysndfile import formatinfo, sndfile File "C:\Python26\lib\site-packages\scikits\audiolab\pysndfile\__init__.py", line 1, in <module> from _sndfile import Sndfile, Format, available_file_formats, available_encodings ImportError: DLL load failed: The specified procedure could not be found. Any ideas? Everything works fine on py2.5. -- Chris
Le lundi 26 octobre 2009 à 10:39 -0700, Christopher Brown a écrit :
from scikits import audiolab Traceback (most recent call last): File "C:\Python26\lib\site-packages\scikits\audiolab\__init__.py", line 25, in <module> from pysndfile import formatinfo, sndfile File "C:\Python26\lib\site-packages\scikits\audiolab\pysndfile\__init__.py", line 1, in <module> from _sndfile import Sndfile, Format, available_file_formats, available_encodings ImportError: DLL load failed: The specified procedure could not be found.
Make sure you have sndfile installed http://www.mega-nerd.com/libsndfile/ -- Fabrice Silva Laboratory of Mechanics and Acoustics - CNRS 31 chemin Joseph Aiguier, 13402 Marseille, France.
Thanks for the suggestion. However, audiolab didn't need it installed on Python 2.5. I also see the file _sndfile.dll in the audiolab folder, which I assume contains the sndfile code (it is ~3.5mb). I installed it anyway, and I copied the dll into the audiolab folder, but the error persists. Any other suggestions? On 10/26/2009 12:00 PM, Fabrice Silva wrote:
Le lundi 26 octobre 2009 à 10:39 -0700, Christopher Brown a écrit :
from scikits import audiolab
Traceback (most recent call last): File "C:\Python26\lib\site-packages\scikits\audiolab\__init__.py", line 25, in<module> from pysndfile import formatinfo, sndfile File "C:\Python26\lib\site-packages\scikits\audiolab\pysndfile\__init__.py", line 1, in<module> from _sndfile import Sndfile, Format, available_file_formats, available_encodings ImportError: DLL load failed: The specified procedure could not be found.
Make sure you have sndfile installed http://www.mega-nerd.com/libsndfile/
On 10/26/2009 11:04 AM, Christopher Brown wrote:
Thanks for the suggestion. However, audiolab didn't need it installed on Python 2.5. I also see the file _sndfile.dll in the audiolab folder, which I assume contains the sndfile code (it is ~3.5mb).
I installed it anyway, and I copied the dll into the audiolab folder, but the error persists. Any other suggestions?
Can anyone confirm that they got audiolab working with Python 2.6? I've tried several machines and get the same error on all of them.
Christopher Brown wrote:
On 10/26/2009 11:04 AM, Christopher Brown wrote:
Thanks for the suggestion. However, audiolab didn't need it installed on Python 2.5. I also see the file _sndfile.dll in the audiolab folder, which I assume contains the sndfile code (it is ~3.5mb).
I installed it anyway, and I copied the dll into the audiolab folder, but the error persists. Any other suggestions?
Can anyone confirm that they got audiolab working with Python 2.6? I've tried several machines and get the same error on all of them.
_______________________________________________ SciPy-User mailing list SciPy-User@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-user
I just installed it on a fully-patched Windows XP Pro machine using Python 2.6.2 and also got the same, previously-reported error when attempting to import it, but I have no familiarity with this package. Could this be related to the switch in C compilers between Python 2.5 and 2.6? -- jv
On Tue, Oct 27, 2009 at 3:04 AM, Christopher Brown <c-b@asu.edu> wrote:
Thanks for the suggestion. However, audiolab didn't need it installed on Python 2.5. I also see the file _sndfile.dll in the audiolab folder, which I assume contains the sndfile code (it is ~3.5mb).
I installed it anyway, and I copied the dll into the audiolab folder, but the error persists. Any other suggestions?
There is indeed a problem on 2.6, but I have not found the time to look at it. Most likely linked to the manifest nonsense on windows, David
What is the meaning of these adresses? I opened these files, and they has some strange lines. The first file has only " __import__('pkg_resources').declare_namespace(__name__) ". Is module PKG necessary? And the second has a comment line that looks a code line. I am looking forward to run Audiolab... Thanks for helping, and forgive my (probably) mistakes! Christopher Brown wrote:
Hi List,
Has anyone gotten scikits.audiolab working with python 2.6? Here is the error I get on a clean Python 2.6 install with numpy and audiolab installed (using the audiolab 0.10.2 installer for py2.6 I downloaded from pypi, and a clean Win XPSP3 install):
from scikits import audiolab Traceback (most recent call last): File "C:\Python26\lib\site-packages\scikits\audiolab\__init__.py", line 25, in <module> from pysndfile import formatinfo, sndfile File "C:\Python26\lib\site-packages\scikits\audiolab\pysndfile\__init__.py", line 1, in <module> from _sndfile import Sndfile, Format, available_file_formats, available_encodings ImportError: DLL load failed: The specified procedure could not be found.
Any ideas? Everything works fine on py2.5.
-- Chris
_______________________________________________ SciPy-User mailing list SciPy-User@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-user
-- View this message in context: http://old.nabble.com/Audiolab-on-Py2.6-tp26064218p26402986.html Sent from the Scipy-User mailing list archive at Nabble.com.
On Wed, Nov 18, 2009 at 00:29, dpfrota <dpfrota@yahoo.com.br> wrote:
What is the meaning of these adresses? I opened these files, and they has some strange lines. The first file has only " __import__('pkg_resources').declare_namespace(__name__) ". Is module PKG necessary?
These enable the scikits namespace such that you can have multiple scikits packages installed (possibly to separate locations). -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco
Robert Kern-2 wrote:
On Wed, Nov 18, 2009 at 00:29, dpfrota <dpfrota@yahoo.com.br> wrote:
What is the meaning of these adresses? I opened these files, and they has some strange lines. The first file has only " __import__('pkg_resources').declare_namespace(__name__) ". Is module PKG necessary?
These enable the scikits namespace such that you can have multiple scikits packages installed (possibly to separate locations).
-- Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco _______________________________________________ SciPy-User mailing list SciPy-User@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-user
I made some tests and I am almost sure the problem is with this file: "C:\Python26\Lib\site-packages\scikits\audiolab\pysndfile\_sndfile.pyd". But I don´t know how to see its contents or fix the problem. Any more tips? (Please!) -- View this message in context: http://old.nabble.com/Audiolab-on-Py2.6-tp26064218p27026778.html Sent from the Scipy-User mailing list archive at Nabble.com.
On Wed, Jan 6, 2010 at 5:15 AM, dpfrota <dpfrota@yahoo.com.br> wrote:
Robert Kern-2 wrote:
On Wed, Nov 18, 2009 at 00:29, dpfrota <dpfrota@yahoo.com.br> wrote:
What is the meaning of these adresses? I opened these files, and they has some strange lines. The first file
has
only " __import__('pkg_resources').declare_namespace(__name__) ". Is module PKG necessary?
These enable the scikits namespace such that you can have multiple scikits packages installed (possibly to separate locations).
-- Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco _______________________________________________ SciPy-User mailing list SciPy-User@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-user
I made some tests and I am almost sure the problem is with this file: "C:\Python26\Lib\site-packages\scikits\audiolab\pysndfile\_sndfile.pyd".
But I don´t know how to see its contents or fix the problem.
Any more tips? (Please!) -- View this message in context: http://old.nabble.com/Audiolab-on-Py2.6-tp26064218p27026778.html Sent from the Scipy-User mailing list archive at Nabble.com.
_______________________________________________ SciPy-User mailing list SciPy-User@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-user
I have this problem as well, as far as I am aware its not fixed and is a problem linking to the sndfile.dll. what are you using audiolab for? I have got round the problem by using wavfile in scipy to open and read wavfiles and pyaudiere to play audio. I even got 24bit wav files to read also I had to alter wavfile.py in my scipy distribution which is not advisable.
participants (7)
-
Christopher Brown -
David Cournapeau -
dpfrota -
Fabrice Silva -
henry lindsay smith -
Jim Vickroy -
Robert Kern