[PlanetCCRMA] Python problem building AudioLab on Fedora

Niels Mayer nielsmayer at gmail.com
Wed Apr 28 11:53:14 PDT 2010


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/ ::

Any suggestions or help on this one? For all I know, even though I've got 67
Fedora python packages installed, this error might be happening from the one
package i'm missing.

...............................

I'm attempting to follow the instructions at
http://www.ar.media.kyoto-u.ac.jp/members/david/softwares/audiolab/sphinx/installing.html#build

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?

-----------------------

Niels
http://nielsmayer.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/planetccrma/attachments/20100428/65887513/attachment.html 


More information about the PlanetCCRMA mailing list