Installation Steps (Nightly Python3) - Maschine2501/Volumio-OledUI GitHub Wiki
1st step:
configure time(-zone) and update the package list
sudo dpkg-reconfigure tzdata
sudo apt-get update
2nd step:
install Python 3.5.2
sudo apt-get install build-essential libc6-dev
sudo apt-get install libncurses5-dev libncursesw5-dev libreadline6-dev
sudo apt-get install libdb5.3-dev libgdbm-dev libsqlite3-dev libssl-dev
sudo apt-get install libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev
wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz
tar -zxvf Python-3.5.2.tgz
cd Python-3.5.2
./configure
make -j4
sudo make install
cd
sudo rm -fr ./Python-3.5.2*
Check Python Version:
python3 --version
pip3 -v
If python3 != 3.5.2, set symlink:
alias python3=python3.5
3rd step:
Update your default pip installation with:
sudo pip3 install -U pip
sudo pip3 install -U setuptools
4th step:
install all dependencies
sudo apt-get install -y python3-dev python3-setuptools python3-pip libfreetype6-dev libjpeg-dev build-essential python-rpi.gpio
sudo pip3 install --upgrade setuptools pip wheel
sudo pip3 install socketIO-client
sudo pip3 install --upgrade luma.oled
sudo apt install libcurl4-openssl-dev libssl-dev
sudo pip3 install pycurl
5th step:
install Volumio OledUI
git clone https://github.com/Maschine2501/Volumio-OledUI.git
chmod +x ~/Volumio-OledUI/oledui-nightlyPY3.py
sudo cp ~/Volumio-OledUI/oledui-nightlyPY3.service /lib/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable oledui-nightlyPY3.service
reboot
6th step:
profit!
If something is wrong:
check the journal!
sudo journalctl -fu oledui-nightlyPY3.service