How can I found out what went wrong? As a result of the installation I get a new directory:
/usr/lib/python2.5/site-packages (so something happened) but I still cannot use the module. Can anybody help me with that?

5 Answers
5

I just tried what you have suggested. "audiolab" instead "pyaudiolab" does not change anything. When I try import scikits.audiolab I get: File "/usr/lib/python2.5/site-packages/scikits/audiolab/__init__.py", line 38, in <module> from numpy.testing import Tester
–
RomanJan 13 '10 at 16:18

it seems you have dependency on a module named Tester which you dont have (regarding the reproted problem it seems like it is solved)
–
elijahJan 13 '10 at 16:22

From the OP's comment to an answer, it's clear that scikits.audiolab is indeed where this module's been installed, but it also needs you to install numpy. Assuming the module's configuration files are correct, by using easy_install instead of the usual python setup.py run, you might have automatically gotten and installed such extra dependencies -- that's one of the main points of easy_install after all. But you can also do it "manually" (for better control of where you get dependencies from and exactly how you install them), of course -- however, in that case, you do need to check and manually install the dependencies, too.

I have installed numpy before. And it works fine (if I type "from numpy import *", Python does not complain.
–
RomanJan 13 '10 at 16:30

@Roman, so can you import numpy.testing? What about from numpy.testing import Tester? Looks like you have an older (what version?) or partially-installed numpy that doesn't supply the testing sub-module or its Tester, and scikits.audiolab requires that.
–
Alex MartelliJan 13 '10 at 17:09

I can "import numpy.testing" but I cannot "from numpy.testing import Tester". Version of numpy is '1.1.1'.
–
RomanJan 13 '10 at 17:59

When I type "sudo apt-get install python-numpy" I get the following message "python-numpy is already the newest version". But as far as I know 1.1.1. is not the latest version of the numpy. How it comes?
–
RomanJan 13 '10 at 18:08

1.1.1 is not the latest upstream numpy, but it may be the latest supported by your version of Ubuntu (or Debian or whatever other Linux distro you have).
–
Alex MartelliJan 13 '10 at 18:52

When I type what suggested, the system says me that I have already the newest version of numpy. And Python says that my version of numpy is 1.1.1. which, as far as I know, is NOT the latest version. I think it is an old version which does not contain "Tester" that I need.
–
RomanJan 13 '10 at 18:11

I do not have *audiolab.py in /usr/lib/python2.5/site-packages/. But I have there a directory called scikits.audiolab-0.10.2-py2.5.egg-info. But this subdirectory also does not contain *audiolab.py file.
–
RomanJan 13 '10 at 16:27

try importing the following: from numpy.testing import Tester this seems to be your current problem
–
elijahJan 13 '10 at 16:48