-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install trouble #7
Comments
I don't know about pip/easy_install, I don't think those tools are very reliable. As for the standard python setup.py install, I don't understand why it does not work for you. I have just confirmed it is working on my own ubuntu vm. You could try debugging things by printing temporaries results in scikits/audiolab/soundio/setuphelp.py. |
Problem is with distutils. I don't have Ubuntu version of numpy but I Here are alsa headers: $ locate asoundlib.h On Thu, Sep 1, 2011 at 10:24 AM, cournape
|
I'm getting the same problem here on ubuntu:
I'm guessing because ubuntu stores those libs in /usr/lib/x86_64-linux-gnu/libsndfile.so |
A simple question, I'm also in trouble with the same problem of Alsa not recognized, the kernel is: uname -r 3.1.0-1-amd64, with Debian Wheezy installed. |
I'm on Ubuntu 11.10. I managed to install audiolab by first locating the libsndfile.so file then symlinking it to /usr/local/lib/libsndfile.so Locate file
Symlink
PIP install
|
I can confirm that nwjlyons solution works for Ubuntu 11.10, cheers. |
Same problem in Windows.
The file it's looking for is presumably one of these: C:\Program Files (x86)\Mega-Nerd\libsndfile\bin\libsndfile-1.dll (32-bit) or C:\Program Files\Mega-Nerd\libsndfile\bin\libsndfile-1.dll (64-bit) I didn't know if I should install the 32-bit version or the 64-bit version, so I installed both. Still doesn't work. Should it be the same as the Python version? Or should it be the same as my processor? I've always found audiolab very difficult to install and get working, whether on Windows or Linux. :/ Is there any way the install process can automatically take care of downloading the missing dependencies? |
Hi, Any clue ? Samuel |
Yeah, I'm also running pythonxy 2.7.2.1 |
Finally possible with:
|
Hey flacread works now! I did the above but used Link Shell Extension to produce a symlink instead of copying the file. This is with 32-bit Python(x,y) 2.7.2.1, scikits.audiolab-0.11.0.win32-py2.7.exe, and libsndfile-1.0.25-w32-setup.exe (Confirmed that the 64-bit libsndfile doesn't work. |
I'm having a similar issue in CentOS 5.7. 1. locate libsndfile
2. locate sndfile.h
3. python setup.py build
4. vim /usr/lib/python2.4/site-packages/numpy/distutils/site.cfg
I'm a bit lost here. Shouldn't site.cfg have a [sndfile] section? Other than that, I have no idea how to approach this. Thanks! |
I fixed this by modifying my site.cfg. It is now:
Cheers! |
This is not resolved. It just happened to me earlier today. The last comment here was from 6 months ago. I tried everything mentioned, to no avail. The closest solution I found was adding the ubuntu-audio-dev ppa and installing linux-alsa-driver-modules, but this was from 2010 and there is no linux-alsa-driver-modules for 3.5.0-37-generic, the latest seems to be 3.0. |
Where is the site.cfg supposed to be? Where is the section called [sndfile]."""? |
http://stackoverflow.com/questions/13999790/python-audiolab-install-unable-to-install-or-find-libsndfile-on-mac-osx By doing above steps, I have fixed this problem on my machine. |
Hi , could you help me out i want to implement special character (non ASCII /non utf-8 ) support to it ,could you also confirm that is this added to this library or not |
I can't get this to install on Windows 7 What am I supposed to do with site.cfg? This site.cfg? I tried adding
to the bottom but it doesn't work.
It doesn't matter if I use
|
This is only vaguely related to audiolab but I have the same problem for installing scikits.samplerate on windows 7. It isn't just specific to audiolab. |
I used this page to install all of the libs required for this application On Sat, Mar 14, 2015 at 12:15 AM, Trevor notifications@github.com wrote:
Thanks! office: 888-783-2442 [image: https://twitter.com/geekschicago] https://twitter.com/geekschicago |
Yes that is a very helpful site. I see that referenced so many times for package difficulties. It probably has a working executable for a given platform. |
This no longer works for me. I installed |
I run into this problem too on 14.04 LTS x64 Ubuntu too. The reason for this is because for some latter versions of Linux distributions, they don't use the path for libsndfile library any longer in the way the scikits.audiolab refers to it. The problem can be solved by @eduardoboucas or @nwjlyons approach with some tiny fixes for any other version.
Note: the library file name could be differnt from libsndfile.so.1 to some other variants. Make sure your soft link is valid, and the library would work out fine. |
Hi, I am running on CentOS release 6.5 having the same issue couldn't find the libsndfile since I install it in a non-default folder. I solved my problem by adding a file "~/.numpy-site.cfg"
After that I can install it using pip since now it can find the libsndfile. Hope it helps. |
Thank you @cheyuanl it worked for me
|
How can i do that? @cheyuanl |
On win32 in C:\Program Files\Mega-Nerd\libsndfile, the files libsndfile-1.lib and libsndfile-1.def exist but the installation script seems to only look for libsndfile.lib and/or libsndfile.def Full solution at https://stackoverflow.com/questions/47779548/how-does-one-install-scikits-audiolab-0-11-0-on-windows/51379107#51379107 Unfortunately this leaves me with the next error;
Next, I'm going to try installing a .whl file - as recommended earlier in this thread. EDIT: the .whl way works:
|
Thanks @qubodup , your method works for me. By the way, it seems like the version of Python should be 2.7 for this installation. For other guys encountering "error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27", a solution is to just download and install Microsoft Visual C++ Compiler for Python 2.7 from https://www.microsoft.com/en-us/download/details.aspx?id=44266. After that you may also need to upgrade setuptools package for the error to disappear: Hope it helps. |
1. easy_install scikits.audiolab
error: sndfile (http://www.mega-nerd.com/libsndfile/) library not found.
2. pip install scikits.audiolab
error: sndfile (http://www.mega-nerd.com/libsndfile/) library not found.
$ locate libsndfile
$ locate sndfile.h
3. git clone && python setup.py install
error: sndfile (http://www.mega-nerd.com/libsndfile/) library not found.
* site.cfg:
4. python setup.py install
SndfileInfo:
FOUND:
libraries = ['sndfile', 'vorbis', 'vorbisenc', 'FLAC', 'ogg', 'sndfile', 'vorbis', 'vorbisenc', 'FLAC', 'ogg']
library_dirs = ['/usr/lib/']
include_dirs = ['/usr/include/']
AlsaInfo:
libraries asound not found in /usr/local/lib
alsa not found
scikits/audiolab/soundio/setup.py:21: UserWarning: Alsa not found - alsa backend not build
warnings.warn("Alsa not found - alsa backend not build")
$ aptitude show libasound2-dev
Package: libasound2-dev
State: installed
Automatically installed: no
Version: 1.0.24.1-0ubuntu5
Priority: optional
Section: libdevel
Maintainer: Ubuntu Core Developers ubuntu-devel-discuss@lists.ubuntu.com
Uncompressed Size: 1 946 k
Depends: libc6-dev | libc-dev, libasound2 (= 1.0.24.1-0ubuntu5)
Suggests: libasound2-doc
Conflicts: alsa-headers, libasound-dev
Replaces: alsa-headers, libasound2 (< 0.9.0rc7-2)
Provides: libasound-dev
Description: shared library for ALSA applications -- development files
This package contains files required for developing software that makes use of libasound2, the ALSA library.
ALSA is the Advanced Linux Sound Architecture.
Homepage: http://www.alsa-project.org/
W.T.F.?
The text was updated successfully, but these errors were encountered: