Nieuws:

Ubuntu-NL weer online!

Na een periode van technische problemen en een overbelaste server zijn we eindelijk weer bereikbaar.
Samen met Hobbynet, onze sponsor en hostingpartner, hebben we een oplossing gevonden zodat alles weer soepel draait.

Bedankt voor jullie geduld en begrip. We hopen nu weer verder te gaan waar we gebleven waren.

Het team van Ubuntu-NL

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Foutmelding bij installatie van scikits.samplerate d.m.v. PyPi  (gelezen 541 keer)

Offline bart85

  • Lid
Ik probeer scikits.samplerate te installeren. Dit word door een ander python programma gebruikt, daardoor is de module noodzakelijk. Het installeren gaat m.b.v. Pypi. Onderstaande foutmelding krijg ik.
$ sudo -H pip install scikits.samplerate
Collecting scikits.samplerate
  Using cached scikits.samplerate-0.3.3.tar.gz
    Complete output from command python setup.py egg_info:
    SamplerateInfo:
      libraries samplerate not found in /usr/local/lib
      libraries samplerate not found in /usr/lib
      libraries samplerate not found in /usr/lib/x86_64-linux-gnu
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/tmp/pip-build-BL7sSE/scikits.samplerate/setup.py", line 74, in <module>
        classifiers = CLASSIFIERS,
      File "/usr/lib/python2.7/dist-packages/numpy/distutils/core.py", line 135, in setup
        config = configuration()
      File "/tmp/pip-build-BL7sSE/scikits.samplerate/setup.py", line 59, in configuration
        config.add_subpackage(DISTNAME)
      File "/usr/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", line 966, in add_subpackage
        caller_level = 2)
      File "/usr/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", line 935, in get_subpackage
        caller_level = caller_level + 1)
      File "/usr/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", line 872, in _get_configuration_from_setup_py
        config = setup_module.configuration(*args)
      File "scikits/samplerate/setup.py", line 20, in configuration
        [samplerate].""")
    numpy.distutils.system_info.NotFoundError: SRC (http://www.mega-nerd.com/SRC/) library not found.  Directories to search
    for the libraries can be specified in the site.cfg file, in section
    [samplerate].
   
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-BL7sSE/scikits.samplerate

Hoe kan ik deze module installeren?
Je leert maar mooi over weg gaan met de commandline.
Linus: "I'm happy with the people who are wandering around looking at the stars but I am looking at the ground and I want to fix the pothole before I fall in."
I look to the clouds behind me and see the thunder coming.