Code Monkey home page Code Monkey logo

Comments (3)

tuffy avatar tuffy commented on August 17, 2024

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.

mistal-distal avatar mistal-distal commented on August 17, 2024

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.

mistal-distal avatar mistal-distal commented on August 17, 2024

Solution in the comments here: #14

from python-audio-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.