Skip to content

Instantly share code, notes, and snippets.

@Peregrinox
Created November 13, 2017 09:14
Show Gist options
  • Save Peregrinox/751708510a133bb812e08316575f3962 to your computer and use it in GitHub Desktop.
Save Peregrinox/751708510a133bb812e08316575f3962 to your computer and use it in GitHub Desktop.
install python3 and flexget in osmc

flexget-python3-osmc

sudo apt-get install python3

configure alternatives as in (https://linuxconfig.org/how-to-change-from-default-to-alternative-python-version-on-debian-linux):

ls /usr/bin/python*
python --version
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.4 2
update-alternatives --list python
sudo update-alternatives --config python

select 2 to set python default to python3

install pip, setuptools and virtualenv:

sudo apt-get install python3-pip
sudo pip3 install --upgrade setuptools
sudo pip3 install --upgrade virtualenv

install flexget as in (https://flexget.com/InstallWizard/Linux):

cd ~
virtualenv flexget
cd ~/flexget/
bin/pip install flexget

install transmissionrpc:

bin/pip install transmissionrpc

install subliminal:

bin/pip install subliminal
bin/subliminal --version

to run flexget without activation of the virtualenv:

~/flexget/bin/flexget -V

Upgrade

from (https://flexget.com/Upgrade)

 ~/flexget/bin/pip install --upgrade flexget
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment