Skip to content

Instantly share code, notes, and snippets.

@guinslym
Last active January 2, 2016 22:19
Show Gist options
  • Save guinslym/8369190 to your computer and use it in GitHub Desktop.
Save guinslym/8369190 to your computer and use it in GitHub Desktop.
Hi I'm trying to install [pyradio][1] to be able to play internet radio inside my terminal. I'm having these errors. I d'like to know how can I fix this. I followed this tutorial :: https://github.com/coderholic/pyradio/tree/master
guinslym@ubuntu:~/Music/radio_online/pyradio$ pip install pyradio
Downloading/unpacking pyradio
Downloading pyradio-0.5.2.tar.gz
Running setup.py egg_info for package pyradio
warning: no previously-included files found matching '*.pyc'
warning: no previously-included files found matching '*.orig'
Installing collected packages: pyradio
Running setup.py install for pyradio
deleting pyradio.egg-info/requires.txt
warning: no previously-included files found matching '*.pyc'
warning: no previously-included files found matching '*.orig'
error: could not create '/usr/local/lib/python2.7/dist-packages/pyradio': Permission denied
Complete output from command /usr/bin/python -c "import setuptools;__file__='/home/guinslym/Music/radio_online/pyradio/build/pyradio/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-IjYpjm-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/pyradio
copying pyradio/__init__.py -> build/lib.linux-x86_64-2.7/pyradio
copying pyradio/radio.py -> build/lib.linux-x86_64-2.7/pyradio
copying pyradio/player.py -> build/lib.linux-x86_64-2.7/pyradio
copying pyradio/main.py -> build/lib.linux-x86_64-2.7/pyradio
copying pyradio/log.py -> build/lib.linux-x86_64-2.7/pyradio
running egg_info
deleting pyradio.egg-info/requires.txt
writing pyradio.egg-info/PKG-INFO
writing top-level names to pyradio.egg-info/top_level.txt
writing dependency_links to pyradio.egg-info/dependency_links.txt
writing entry points to pyradio.egg-info/entry_points.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pyradio.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching '*.pyc'
warning: no previously-included files found matching '*.orig'
writing manifest file 'pyradio.egg-info/SOURCES.txt'
copying pyradio/__init__.pyc -> build/lib.linux-x86_64-2.7/pyradio
copying pyradio/stations.csv -> build/lib.linux-x86_64-2.7/pyradio
running install_lib
creating /usr/local/lib/python2.7/dist-packages/pyradio
error: could not create '/usr/local/lib/python2.7/dist-packages/pyradio': Permission denied
----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/home/guinslym/Music/radio_online/pyradio/build/pyradio/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-IjYpjm-record/install-record.txt failed with error code 1
Storing complete log in /home/guinslym/.pip/pip.log
guinslym@ubuntu:~/Music/radio_online/pyradio$ sudo pip install pyradio
Downloading/unpacking pyradio
Running setup.py egg_info for package pyradio
warning: no previously-included files found matching '*.pyc'
warning: no previously-included files found matching '*.orig'
Installing collected packages: pyradio
Running setup.py install for pyradio
warning: no previously-included files found matching '*.pyc'
warning: no previously-included files found matching '*.orig'
Installing pyradio script to /usr/local/bin
Successfully installed pyradio
Cleaning up...
[1]: https://github.com/coderholic/pyradio/tree/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment