Installation¶
Version |
Installing |
---|---|
# Current user
pip install --upgrade --user git+https://github.com/Billy2011/streamlink-27/tree/release-1.27.5.0.git
# System wide
sudo pip install --upgrade git+https://github.com/Billy2011/streamlink-27/tree/release-1.27.5.0.git
|
|
# Current user
git clone https://github.com/Billy2011/streamlink-27/tree/release-1.27.5.0.git
cd streamlink
python setup.py install --user
# System wide
git clone https://github.com/Billy2011/streamlink-27/tree/release-1.27.5.0.git
cd streamlink
sudo python setup.py install
|
Virtual environment¶
Another method of installing Streamlink in a non-system-wide way is using virtualenv, which creates a user owned Python environment instead.
# Create a new environment
virtualenv ~/myenv
# Activate the environment
source ~/myenv/bin/activate
# Install Streamlink in the environment
pip install --upgrade streamlink
# Use Streamlink in the environment
streamlink ...
# Deactivate the environment
deactivate
# Use Streamlink without activating the environment
~/myenv/bin/streamlink ...
Note
This may also be required on some macOS versions that seem to have weird permission issues.
Dependencies¶
To install Streamlink from source you will need these dependencies.
Name |
Notes |
---|---|
At least version 2.7 or 3.6. |
|
Automatically installed by the setup script |
|
Only needed on Python 2.7. |
|
At least version 2.26.0 |
|
Only needed on Python 2.7. |
|
Required to play some encrypted streams |
|
Used for localization settings, provides language information |
|
Used for localization settings, provides country information |
|
Used for MPEG-DASH streams |
|
Used for processing HTML and XML data |
|
Used for SOCKS Proxies |
|
At least version 0.58.0. (used for some plugins) |
|
Only needed on Python 2.7. |
|
Only needed on Python 2.7. |
|
Optional |
|
Required to play RTMP streams. |
|
Required to play streams that are made up of separate audio and video streams, eg. YouTube 1080p+ |