mount to be included in path
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ logging.basicConfig(level=logging.INFO, format='%(asctime)s %(levelname)s - %(me
|
|||||||
logging.info('Initializing')
|
logging.info('Initializing')
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
MUSIC_BASE_DIRECTORY = "mnt/NAS/"
|
MUSIC_BASE_DIRECTORY = "mnt/"
|
||||||
SOUND_SCANNING = "mnt/INTERNAL/qudio/sounds/scanning.mp3"
|
SOUND_SCANNING = "mnt/INTERNAL/qudio/sounds/scanning.mp3"
|
||||||
SOUND_SCAN_FAIL = "mnt/INTERNAL/qudio/sounds/fail-05.mp3"
|
SOUND_SCAN_FAIL = "mnt/INTERNAL/qudio/sounds/fail-05.mp3"
|
||||||
QR_SCANNER_TIMEOUT = 4
|
QR_SCANNER_TIMEOUT = 4
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ Zien:
|
|||||||
* ssh volumio@qudio.local
|
* ssh volumio@qudio.local
|
||||||
* Activate software mixer
|
* Activate software mixer
|
||||||
* sudo apt-get update
|
* sudo apt-get update
|
||||||
* sudo apt-get install fswebcam zbar-tools
|
* sudo apt-get install fswebcam zbar-tools mc
|
||||||
* lsusb && ls /dev/video*
|
* lsusb && ls /dev/video*
|
||||||
* fswebcam -r 320x240 -d /dev/video0 -v /data/backgrounds/webcam-test.jpg
|
* fswebcam -r 320x240 -d /dev/video0 -v /data/backgrounds/webcam-test.jpg
|
||||||
* http://192.168.178.31/backgrounds/webcam-test.jpg
|
* http://192.168.178.31/backgrounds/webcam-test.jpg
|
||||||
@@ -36,26 +36,30 @@ Zien:
|
|||||||
* uname -a && cat /etc/os-release
|
* uname -a && cat /etc/os-release
|
||||||
|
|
||||||
## Python 3.6 minimum
|
## Python 3.6 minimum
|
||||||
https://www.scivision.co/compile-install-python-beta-raspberry-pi/
|
https://gist.github.com/dschep/24aa61672a2092246eaca2824400d37f
|
||||||
sudo apt-get install libffi-dev libbz2-dev liblzma-dev libsqlite3-dev libncurses5-dev libgdbm-dev zlib1g-dev libreadline-dev libssl-dev tk-dev build-essential libncursesw5-dev libc6-dev openssl git
|
sudo apt-get install build-essential tk-dev libncurses5-dev libncursesw5-dev libreadline6-dev libdb5.3-dev libgdbm-dev libsqlite3-dev libssl-dev libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev
|
||||||
|
|
||||||
https://gist.github.com/dschep/24aa61672a2092246eaca2824400d37f | https://gist.github.com/SeppPenner/6a5a30ebc8f79936fa136c524417761d
|
|
||||||
cd ~
|
cd ~
|
||||||
wget https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tar.xz
|
wget wget https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tar.xz
|
||||||
tar xf Python-3.7.2.tar.xz
|
tar xf Python-3.6.5.tar.xz
|
||||||
cd Python-3.7.2
|
cd Python-3.6.5
|
||||||
./configure
|
./configure
|
||||||
make
|
make
|
||||||
sudo make altinstall --> Problem mit OpenSSL
|
sudo make altinstall --> Problem mit OpenSSL bei Python 3.7
|
||||||
python3.7 --> quit()
|
Could not build the ssl module!
|
||||||
|
Python requires an OpenSSL 1.0.2 or 1.1 compatible libssl with X509_VERIFY_PARAM_set1_host().
|
||||||
|
LibreSSL 2.6.4 and earlier do not provide the necessary APIs, https://github.com/libressl-portable/portable/issues/381
|
||||||
|
|
||||||
|
python3.6 --> quit()
|
||||||
|
|
||||||
|
|
||||||
sudo easy_install-3.6 -U pip # https://stackoverflow.com/a/34580922/3761783 --> OpenSSL fehlt!
|
sudo easy_install-3.6 -U pip # https://stackoverflow.com/a/34580922/3761783 --> OpenSSL fehlt!
|
||||||
sudo pip3.7 install --upgrade pip
|
sudo pip3.6 install --upgrade pip
|
||||||
sudo pip3.7 install socketio-client
|
sudo pip3.6 install socketio-client
|
||||||
sudo pip3.7 install RPi.GPIO
|
sudo pip3.6 install RPi.GPIO
|
||||||
python3.7 test.py
|
python3.6 test.py
|
||||||
|
|
||||||
|
passwd
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user