lightalan / subwayclock

Display clock for NYC subways
GNU General Public License v3.0
33 stars 13 forks source link

subway.py not working tkinter import * #6

Closed merryprankster02 closed 4 years ago

merryprankster02 commented 4 years ago

Im getting an error

ModuleNotFoundError: No module named 'tkinter". I have no idea how to address this.

I will state that i am doing this in an Ubuntu VM because my new PI and Display dont arrive until next week but i wanted to get everything working first so that this would be an easy build to give to my girlfriend as a gift.

When i run ./mta.py with my station information i get good results so that script is working fine.

Any help would be greatly appreciated.

thanks, -mp

lightalan commented 4 years ago

Hummm. Try googling "installing Ubuntu tkinter"

On Sat, Jan 25, 2020, 6:58 PM merryprankster02 notifications@github.com wrote:

Im getting an error

ModuleNotFoundError: No module named 'tkinter". I have no idea how to address this.

I will state that i am doing this in an Ubuntu VM because my new PI and Display dont arrive until next week but i wanted to get everything working first so that this would be an easy build to give to my girlfriend as a gift.

When i run ./mta.py with my station information i get good results so that script is working fine.

Any help would be greatly appreciated.

thanks, -mp

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lightalan/subwayclock/issues/6?email_source=notifications&email_token=AK7LEU2DJRK4CMQM3EVLAQLQ7TGYVA5CNFSM4KLTXOU2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IIXAGCA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK7LEU7XA2YHZWDVI2AZALDQ7TGYVANCNFSM4KLTXOUQ .

merryprankster02 commented 4 years ago

ok, i got that working and after making a few other tweaks to ubuntu and learning how to use the X11 options correctly in putty i now have this working perfectly for our L station.

Now that I have this working it seems like this is barely touching the capabilities of the pi 4 and I was wondering is there any reason why this couldnt be run on a pi zero. Other than that, this is exactly what i wanted to make for her. The only thing that i may need to tweak a bit at this point is the display settings because i went with a different display than you but i wont know that until i try it.

lightalan commented 4 years ago

I've only tried it on a Pi 3+, which is probably way overkill for this from a processing perspective. I don't see any reason why it would not work on a Pi Zero (you would need to add WiFi, however).

Glad you got it working!

On Sat, Jan 25, 2020 at 11:21 PM merryprankster02 notifications@github.com wrote:

ok, i got that working and after making a few other tweaks to ubuntu and learning how to use the X11 options correctly in putty i now have this working perfectly for our L station.

Now that I have this working it seems like this is barely touching the capabilities of the pi 4 and I was wondering is there any reason why this couldnt be run on a pi zero. Other than that, this is exactly what i wanted to make for her. The only thing that i may need to tweak a bit at this point is the display settings because i went with a different display than you but i wont know that until i try it.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lightalan/subwayclock/issues/6?email_source=notifications&email_token=AK7LEU5J3YDRFQ6DYU7KVGLQ7UFTJA5CNFSM4KLTXOU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJ5LLNY#issuecomment-578467255, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK7LEU6T7LWV3L6L4NSGFOLQ7UFTJANCNFSM4KLTXOUQ .