Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install dependencies process fails #17

Open
netdudeuk opened this issue Dec 3, 2019 · 3 comments
Open

Install dependencies process fails #17

netdudeuk opened this issue Dec 3, 2019 · 3 comments

Comments

@netdudeuk
Copy link

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))

@netdudeuk netdudeuk reopened this Dec 4, 2019
@bopojoe
Copy link

bopojoe commented Dec 9, 2019

same issue
using stretch

@netdudeuk
Copy link
Author

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.

requirements.txt

@bopojoe
Copy link

bopojoe commented Jun 25, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants