Comments (3)
Looks like you may not have libcdio and/or its development libraries installed. It's usually called libcdio-dev or libcdio-devel in package managers, or you can install it from the source available at http://www.gnu.org/software/libcdio/
from python-audio-tools.
Sudo apt-get install libcdio-dev:
sudo apt-get install libcdio-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libcdio-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 242 not upgraded.
Log of pip install:
/usr/bin/pip run on Sat Mar 23 10:49:36 2013
Unpacking ./audiotools-2.19.tar.gz
Running setup.py egg_info for package from file:///home/{user}/Desktop/audiotools-2.19.tar.gz
running egg_info
creating pip-egg-info/Python_Audio_Tools.egg-info
writing pip-egg-info/Python_Audio_Tools.egg-info/PKG-INFO
writing top-level names to pip-egg-info/Python_Audio_Tools.egg-info/top_level.txt
writing dependency_links to pip-egg-info/Python_Audio_Tools.egg-info/dependency_links.txt
writing manifest file 'pip-egg-info/Python_Audio_Tools.egg-info/SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info/Python_Audio_Tools.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pip-egg-info/Python_Audio_Tools.egg-info/SOURCES.txt'
Installing collected packages: Python-Audio-Tools
Running setup.py install for Python-Audio-Tools
Running command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-78kLp_-build/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-RFcCgM-record/install-record.txt
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/audiotools
copying audiotools/aiff.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/id3v1.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/musicbrainz.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/image.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/dvda.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/au.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/m4a.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/text.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/id3.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/player.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/cue.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/wav.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/freedb.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/shn.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/vorbiscomment.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/__init__.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/accuraterip.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/toc.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/mp3.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/ogg.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/flac.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/ape.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/m4a_atoms.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/opus.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/wavpack.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/delta.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/vorbis.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/ui.py -> build/lib.linux-x86_64-2.7/audiotools
creating build/lib.linux-x86_64-2.7/audiotools/py_decoders
copying audiotools/py_decoders/shn.py -> build/lib.linux-x86_64-2.7/audiotools/py_decoders
copying audiotools/py_decoders/__init__.py -> build/lib.linux-x86_64-2.7/audiotools/py_decoders
copying audiotools/py_decoders/flac.py -> build/lib.linux-x86_64-2.7/audiotools/py_decoders
copying audiotools/py_decoders/alac.py -> build/lib.linux-x86_64-2.7/audiotools/py_decoders
copying audiotools/py_decoders/wavpack.py -> build/lib.linux-x86_64-2.7/audiotools/py_decoders
creating build/lib.linux-x86_64-2.7/audiotools/py_encoders
copying audiotools/py_encoders/shn.py -> build/lib.linux-x86_64-2.7/audiotools/py_encoders
copying audiotools/py_encoders/__init__.py -> build/lib.linux-x86_64-2.7/audiotools/py_encoders
copying audiotools/py_encoders/flac.py -> build/lib.linux-x86_64-2.7/audiotools/py_encoders
copying audiotools/py_encoders/alac.py -> build/lib.linux-x86_64-2.7/audiotools/py_encoders
copying audiotools/py_encoders/wavpack.py -> build/lib.linux-x86_64-2.7/audiotools/py_encoders
running build_ext
building 'audiotools.cdio' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c src/cdiomodule.c -o build/temp.linux-x86_64-2.7/src/cdiomodule.o
In file included from src/cdiomodule.c:1:0:
src/cdiomodule.h:2:23: fatal error: cdio/cdda.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
Complete output from command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-78kLp_-build/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-RFcCgM-record/install-record.txt:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/audiotools
copying audiotools/aiff.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/id3v1.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/musicbrainz.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/image.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/dvda.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/au.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/m4a.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/text.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/id3.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/player.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/cue.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/wav.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/freedb.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/shn.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/vorbiscomment.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/init.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/accuraterip.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/toc.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/mp3.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/ogg.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/flac.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/ape.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/m4a_atoms.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/opus.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/wavpack.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/delta.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/vorbis.py -> build/lib.linux-x86_64-2.7/audiotools
copying audiotools/ui.py -> build/lib.linux-x86_64-2.7/audiotools
creating build/lib.linux-x86_64-2.7/audiotools/py_decoders
copying audiotools/py_decoders/shn.py -> build/lib.linux-x86_64-2.7/audiotools/py_decoders
copying audiotools/py_decoders/init.py -> build/lib.linux-x86_64-2.7/audiotools/py_decoders
copying audiotools/py_decoders/flac.py -> build/lib.linux-x86_64-2.7/audiotools/py_decoders
copying audiotools/py_decoders/alac.py -> build/lib.linux-x86_64-2.7/audiotools/py_decoders
copying audiotools/py_decoders/wavpack.py -> build/lib.linux-x86_64-2.7/audiotools/py_decoders
creating build/lib.linux-x86_64-2.7/audiotools/py_encoders
copying audiotools/py_encoders/shn.py -> build/lib.linux-x86_64-2.7/audiotools/py_encoders
copying audiotools/py_encoders/init.py -> build/lib.linux-x86_64-2.7/audiotools/py_encoders
copying audiotools/py_encoders/flac.py -> build/lib.linux-x86_64-2.7/audiotools/py_encoders
copying audiotools/py_encoders/alac.py -> build/lib.linux-x86_64-2.7/audiotools/py_encoders
copying audiotools/py_encoders/wavpack.py -> build/lib.linux-x86_64-2.7/audiotools/py_encoders
running build_ext
building 'audiotools.cdio' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c src/cdiomodule.c -o build/temp.linux-x86_64-2.7/src/cdiomodule.o
In file included from src/cdiomodule.c:1:0:
src/cdiomodule.h:2:23: fatal error: cdio/cdda.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
Command /usr/bin/python -c "import setuptools;file='/tmp/pip-78kLp_-build/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --single-version-externally-managed --record /tmp/pip-RFcCgM-record/install-record.txt failed with error code 1 in /tmp/pip-78kLp_-build
Exception information:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 104, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 250, in run
requirement_set.install(install_options, global_options)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1133, in install
requirement.install(install_options, global_options)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 577, in install
cwd=self.source_dir, filter_stdout=self.filter_install, show_stdout=False)
File "/usr/lib/python2.7/dist-packages/pip/init.py", line 256, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command /usr/bin/python -c "import setuptools;file='/tmp/pip-78kLp-build/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --single-version-externally-managed --record /tmp/pip-RFcCgM-record/install-record.txt failed with error code 1 in /tmp/pip-78kLp_-build
from python-audio-tools.
Solution in the comments here: #14
from python-audio-tools.
Related Issues (20)
- musepack support HOT 12
- Seperate Audio Decoders/Encoders and Audio Utils. HOT 1
- Output filename issue: *** Error: output file "track00.wav" occurs more than once HOT 1
- Utility to automatically merge gapless tracks HOT 1
- Fix CoreAudio for Python 3.x builds.
- "Error: read error during encoding" during wav to flac conversion
- ImportError: cannot import name WavPackDecoder HOT 1
- have any demo code for playing mp3?
- Import error while using `to_pcm()` method of OpusAudio class
- 'python setup.py clean' does not clean build files HOT 1
- audiotools.open does not recognize MP3 files in MPEG-2 or MPEG-2.5 format
- Error building on Windows pcm.h syntax error HOT 3
- how to change the output? HOT 1
- Is there a way to enqueue audio files for playing? HOT 1
- No ReplayGain tags added to aiff files
- raise UnsupportedFile(filename) HOT 2
- duplicate man audiotools.cfg.5 in man1 and man5
- FreeDB is no more HOT 1
- Container with python-audio-tools
- Missing mp3 write support after building, not sure how to debug why
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-audio-tools.