Open netdudeuk opened 4 years ago
same issue using stretch
I created an updated requirements.txt and used the following commands to get mine working -
pip3 install -r requirements.txt python3 ./src/main.py --display ssd1322 --width 256 --height 64 --interface spi
I cannot promise that this is good for everyone though.
I wanted the better font scaling so I then cloned a fork of the project as shown below and did some tidying up as shown below -
git clone https://github.com/balena-io-playground/UK-Train-Departure-Display.git cd UK-Train-Departure-Display cp /home/pi/train-departure-screen/config.json . rm balena-run.sh rm Dockerfile.template rm requirements.txt rm config.sample.json
python3 ./src/main.py --display ssd1322 --width 256 --height 64 --interface spi
I did get the balenaCloud version working without any issues but preferred to have more local control.
this fix works for the
pip3 install -r requirements.txt
i installed all these
sudo apt-get install python-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev libsmpeg-dev python-numpy subversion libportmidi-dev ffmpeg libswscale-dev libavformat-dev libavcodec-dev
requirements installed with no issues
Using latest version of Raspbian Buster (2019-09-26-raspbian-buster-lite), the documented process for installing the dependencies fails with -
Could not find a version that satisfies the requirement astroid==2.2.5 (from -r requirements.txt (line 2)) (from versions: 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.3.7, 1.3.8, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.4.8, 1.4.9, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 2.0.0.dev0, 2.0.0.dev1, 2.0.0.dev2, 2.0.0.dev3, 2.0.0.dev4) No matching distribution found for astroid==2.2.5 (from -r requirements.txt (line 2))