chrippa / livestreamer

Command-line utility that extracts streams from various services and pipes them into a video player of choice. No longer maintained, use streamlink or youtube-dl instead.
http://livestreamer.io/
BSD 2-Clause "Simplified" License
3.88k stars 582 forks source link

Issue with Installation #1346

Closed solocshaw closed 8 years ago

solocshaw commented 8 years ago

When running pip install livestreamer I'm getting the following:

Downloading/unpacking livestreamer
  Downloading livestreamer-1.12.2.tar.gz (430kB): 430kB downloaded
  Running setup.py (path:/private/var/folders/hc/bvh3k07j0zjcjp017c3q_nch0000gn/T/pip_build_soloscshaw/livestreamer/setup.py) egg_info for package livestreamer

    warning: no files found matching 'AUTHORS'
Downloading/unpacking futures (from livestreamer)
  Downloading futures-3.0.5-py2-none-any.whl
Downloading/unpacking singledispatch (from livestreamer)
  Downloading singledispatch-3.4.0.3-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): requests>=1.0,<3.0 in /Library/Python/2.7/site-packages (from livestreamer)
Requirement already satisfied (use --upgrade to upgrade): six in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from singledispatch->livestreamer)
Installing collected packages: livestreamer, futures, singledispatch
  Running setup.py install for livestreamer
    error: could not create '/Library/Python/2.7/site-packages/livestreamer': Permission denied
    Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/private/var/folders/hc/bvh3k07j0zjcjp017c3q_nch0000gn/T/pip_build_soloscshaw/livestreamer/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/hc/bvh3k07j0zjcjp017c3q_nch0000gn/T/pip-ZRH04M-record/install-record.txt --single-version-externally-managed --compile:
    running install

running build

running build_py

creating build

creating build/lib

creating build/lib/livestreamer

copying src/livestreamer/__init__.py -> build/lib/livestreamer

copying src/livestreamer/api.py -> build/lib/livestreamer

copying src/livestreamer/buffers.py -> build/lib/livestreamer

copying src/livestreamer/cache.py -> build/lib/livestreamer

copying src/livestreamer/compat.py -> build/lib/livestreamer

copying src/livestreamer/exceptions.py -> build/lib/livestreamer

copying src/livestreamer/logger.py -> build/lib/livestreamer

copying src/livestreamer/options.py -> build/lib/livestreamer

copying src/livestreamer/session.py -> build/lib/livestreamer

copying src/livestreamer/utils.py -> build/lib/livestreamer

creating build/lib/livestreamer/stream

copying src/livestreamer/stream/__init__.py -> build/lib/livestreamer/stream

copying src/livestreamer/stream/akamaihd.py -> build/lib/livestreamer/stream

copying src/livestreamer/stream/flvconcat.py -> build/lib/livestreamer/stream

copying src/livestreamer/stream/hds.py -> build/lib/livestreamer/stream

copying src/livestreamer/stream/hls.py -> build/lib/livestreamer/stream

copying src/livestreamer/stream/hls_playlist.py -> build/lib/livestreamer/stream

copying src/livestreamer/stream/http.py -> build/lib/livestreamer/stream

copying src/livestreamer/stream/playlist.py -> build/lib/livestreamer/stream

copying src/livestreamer/stream/rtmpdump.py -> build/lib/livestreamer/stream

copying src/livestreamer/stream/segmented.py -> build/lib/livestreamer/stream

copying src/livestreamer/stream/stream.py -> build/lib/livestreamer/stream

copying src/livestreamer/stream/streamprocess.py -> build/lib/livestreamer/stream

copying src/livestreamer/stream/wrappers.py -> build/lib/livestreamer/stream

creating build/lib/livestreamer/plugin

copying src/livestreamer/plugin/__init__.py -> build/lib/livestreamer/plugin

copying src/livestreamer/plugin/plugin.py -> build/lib/livestreamer/plugin

creating build/lib/livestreamer/plugin/api

copying src/livestreamer/plugin/api/__init__.py -> build/lib/livestreamer/plugin/api

copying src/livestreamer/plugin/api/http_session.py -> build/lib/livestreamer/plugin/api

copying src/livestreamer/plugin/api/mapper.py -> build/lib/livestreamer/plugin/api

copying src/livestreamer/plugin/api/support_plugin.py -> build/lib/livestreamer/plugin/api

copying src/livestreamer/plugin/api/utils.py -> build/lib/livestreamer/plugin/api

copying src/livestreamer/plugin/api/validate.py -> build/lib/livestreamer/plugin/api

creating build/lib/livestreamer/plugins

copying src/livestreamer/plugins/__init__.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/afreeca.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/afreecatv.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/aftonbladet.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/alieztv.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/ard_live.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/ard_mediathek.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/artetv.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/azubutv.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/bambuser.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/beattv.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/chaturbate.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/common_jwplayer.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/common_swf.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/connectcast.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/crunchyroll.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/cybergame.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/dailymotion.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/disney_de.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/dmcloud.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/dmcloud_embed.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/dommune.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/douyutv.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/drdk.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/euronews.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/filmon.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/filmon_us.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/furstream.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/gaminglive.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/gomexp.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/goodgame.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/hitbox.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/itvplayer.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/letontv.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/livestation.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/livestream.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/media_ccc_de.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/mips.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/mlgtv.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/nhkworld.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/nos.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/npo.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/nrk.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/oldlivestream.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/periscope.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/picarto.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/rtve.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/sbsdiscovery.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/seemeplay.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/speedrunslive.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/ssh101.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/stream.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/streamingvideoprovider.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/streamlive.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/svtplay.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/tga.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/tv3cat.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/tv4play.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/tvcatchup.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/tvplayer.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/twitch.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/ustreamtv.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/vaughnlive.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/veetle.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/vgtv.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/viagame.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/viasat.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/viasat_embed.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/wattv.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/weeb.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/youtube.py -> build/lib/livestreamer/plugins

copying src/livestreamer/plugins/zdf_mediathek.py -> build/lib/livestreamer/plugins

creating build/lib/livestreamer/packages

copying src/livestreamer/packages/__init__.py -> build/lib/livestreamer/packages

copying src/livestreamer/packages/pbs.py -> build/lib/livestreamer/packages

creating build/lib/livestreamer/packages/flashmedia

copying src/livestreamer/packages/flashmedia/__init__.py -> build/lib/livestreamer/packages/flashmedia

copying src/livestreamer/packages/flashmedia/amf.py -> build/lib/livestreamer/packages/flashmedia

copying src/livestreamer/packages/flashmedia/box.py -> build/lib/livestreamer/packages/flashmedia

copying src/livestreamer/packages/flashmedia/compat.py -> build/lib/livestreamer/packages/flashmedia

copying src/livestreamer/packages/flashmedia/error.py -> build/lib/livestreamer/packages/flashmedia

copying src/livestreamer/packages/flashmedia/f4v.py -> build/lib/livestreamer/packages/flashmedia

copying src/livestreamer/packages/flashmedia/flv.py -> build/lib/livestreamer/packages/flashmedia

copying src/livestreamer/packages/flashmedia/ordereddict.py -> build/lib/livestreamer/packages/flashmedia

copying src/livestreamer/packages/flashmedia/packet.py -> build/lib/livestreamer/packages/flashmedia

copying src/livestreamer/packages/flashmedia/tag.py -> build/lib/livestreamer/packages/flashmedia

copying src/livestreamer/packages/flashmedia/types.py -> build/lib/livestreamer/packages/flashmedia

copying src/livestreamer/packages/flashmedia/util.py -> build/lib/livestreamer/packages/flashmedia

creating build/lib/livestreamer_cli

copying src/livestreamer_cli/__init__.py -> build/lib/livestreamer_cli

copying src/livestreamer_cli/argparser.py -> build/lib/livestreamer_cli

copying src/livestreamer_cli/compat.py -> build/lib/livestreamer_cli

copying src/livestreamer_cli/console.py -> build/lib/livestreamer_cli

copying src/livestreamer_cli/constants.py -> build/lib/livestreamer_cli

copying src/livestreamer_cli/main.py -> build/lib/livestreamer_cli

copying src/livestreamer_cli/output.py -> build/lib/livestreamer_cli

creating build/lib/livestreamer_cli/packages

copying src/livestreamer_cli/packages/__init__.py -> build/lib/livestreamer_cli/packages

copying src/livestreamer_cli/packages/shutil_backport.py -> build/lib/livestreamer_cli/packages

creating build/lib/livestreamer_cli/utils

copying src/livestreamer_cli/utils/__init__.py -> build/lib/livestreamer_cli/utils

copying src/livestreamer_cli/utils/http_server.py -> build/lib/livestreamer_cli/utils

copying src/livestreamer_cli/utils/named_pipe.py -> build/lib/livestreamer_cli/utils

copying src/livestreamer_cli/utils/player.py -> build/lib/livestreamer_cli/utils

copying src/livestreamer_cli/utils/progress.py -> build/lib/livestreamer_cli/utils

copying src/livestreamer_cli/utils/stream.py -> build/lib/livestreamer_cli/utils

running install_lib

creating /Library/Python/2.7/site-packages/livestreamer

error: could not create '/Library/Python/2.7/site-packages/livestreamer': Permission denied

----------------------------------------
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/private/var/folders/hc/bvh3k07j0zjcjp017c3q_nch0000gn/T/pip_build_soloscshaw/livestreamer/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/hc/bvh3k07j0zjcjp017c3q_nch0000gn/T/pip-ZRH04M-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /private/var/folders/hc/bvh3k07j0zjcjp017c3q_nch0000gn/T/pip_build_soloscshaw/livestreamer
Storing debug log for failure in /Users/soloscshaw/Library/Logs/pip.log
solocshaw commented 8 years ago

Resolved