On Tue, Apr 27, 2010 at 5:01 AM, algodon <algodonciego(a)gmail.com> wrote:
Many thanks! I think I'll look into this as I'm having problems with the
python tools...
I tried
http://sourceforge.net/projects/soundviewer/ but got stuck trying to
install its main dependency, a python libsndfile wrapper
http://www.ar.media.kyoto-u.ac.jp/members/david/softwares/audiolab/ ::
...............................
Hi David --
Thanks for making audiolab available.
I'm attempting to follow the instructions at
http://www.ar.media.kyoto-u.ac.jp/members/david/softwares/audiolab/sphinx/i…
on Fedora 12 (2.6.32.11-99.fc12.x86_64) with numpy-1.3.0-7.fc12.x86_64
and python-2.6.2-4.fc12.x86_64 installed as standard RPM packages.
Unfortunately, I get this error:
gnulem-109-~/scikits.audiolab-0.10.2> python -v
setup.py install
...
# /usr/lib64/python2.6/collections.pyc matches
/usr/lib64/python2.6/collections.py
import collections # precompiled from
/usr/lib64/python2.6/collections.pyc
dlopen("/usr/lib64/python2.6/lib-dynload/_collectionsmodule.so", 2);
import _collections # dynamically loaded from
/usr/lib64/python2.6/lib-dynload/_collectionsmodule.so
# /usr/lib64/python2.6/keyword.pyc matches
/usr/lib64/python2.6/keyword.py
import keyword # precompiled from /usr/lib64/python2.6/keyword.pyc
# /usr/lib64/python2.6/site-packages/numpy/ma/extras.pyc matches
/usr/lib64/python2.6/site-packages/numpy/ma/extras.py
import numpy.ma.extras # precompiled from
/usr/lib64/python2.6/site-packages/numpy/ma/extras.pyc
# /usr/lib64/python2.6/site-packages/numpy/setup.pyc
matches
/usr/lib64/python2.6/site-packages/numpy/setup.py
import numpy.setup # precompiled from
/usr/lib64/python2.6/site-packages/numpy/setup.pyc
# /home/npm/scikits.audiolab-0.10.2/common.pyc matches
/home/npm/scikits.audiolab-0.10.2/common.py
import common # precompiled from
/home/npm/scikits.audiolab-0.10.2/common.pyc
Traceback (most recent call last):
File "setup.py", line 84, in <module>
classifiers=CLASSIFIERS)
TypeError: 'module' object is not callable
....
Where line 84 is the main call in setup.py:
setup(configuration=configuration,
name=DISTNAME,
install_requires=INSTALL_REQUIRE,
namespace_packages=['scikits'],
packages=setuptools.find_packages(),
include_package_data = True,
test_suite="tester",
zip_safe=False,
classifiers=CLASSIFIERS)
Any suggestions on what I'm doing wrong?
.....................
Thanks,
Niels
http://nielsmayer.com