LoveBootCaptain / WeatherPi_TFT

a weather display for a raspberry pi and a TFT display written in python3 and pygame
Other
80 stars 24 forks source link

Not working for me #46

Closed raspifun closed 2 years ago

raspifun commented 2 years ago

Hello I have tired this project on Raspi 0W2 and I have no idea what I'm doing wrong, it is just not working. I did follow the instuctions and I did try it many many times with headless and desktop version of OS and I have failed. Please help if possible.

accountForIssues commented 2 years ago

Have you tested it on a Laptop or similar ? Have you tried to run it manually and see what error messages you get ?

I am currently testing this (on a Raspi 4 with HDMI) and all I had to do was:

LoveBootCaptain commented 2 years ago

Not working for me too. I followed step for step the instructions.

`pi@raspberrypi:~/WeatherPi_TFT $ sudo python ./WeatherPiTFT.py

File "./WeatherPiTFT.py", line 95

HEADERS = {'X-Api-Key': f'{config["MOCKSERVER_API_KEY"]}'}
                                                        ^

SyntaxError: invalid syntax `

Maybe just use python3 ?

LoveBootCaptain commented 2 years ago

Hello I have tired this project on Raspi 0W2 and I have no idea what I'm doing wrong, it is just not working. I did follow the instuctions and I did try it many many times with headless and desktop version of OS and I have failed. Please help if possible.

Since I don't know how you use it, I have not idea why it is not working for you :(

LoveBootCaptain commented 2 years ago

Have you tested it on a Laptop or similar ? Have you tried to run it manually and see what error messages you get ?

I am currently testing this (on a Raspi 4 with HDMI) and all I had to do was:

  • Created and activated a virtual environment.
  • Cloned the repo.
  • Installed the requirements.
  • Copied and edited the config.
  • Run python ./WeatherPiTFT.py

This is the way... Maybe try python3 instead of just python if you are still using python2 for whatever reason.

Thx for helping out here... It is it good strategy to figure out things that may not work the first try...

golfer83 commented 2 years ago

Not working for me too. I followed step for step the instructions. `pi@raspberrypi:~/WeatherPi_TFT $ sudo python ./WeatherPiTFT.py File "./WeatherPiTFT.py", line 95

HEADERS = {'X-Api-Key': f'{config["MOCKSERVER_API_KEY"]}'}
                                                        ^

SyntaxError: invalid syntax `

Maybe just use python3 ?

yes python3 ....