Sven_C
Posts: 2
Joined: Sun Dec 17, 2017 6:15 pm

No module mainscreen

Sun Dec 17, 2017 6:23 pm

Hello,

I'm trying to get OnAirScreen working (https://github.com/saschaludwig/OnAirSc ... r/start.py) but it won't find the module referenced on line 46 "mainscreen".
Can anybody give me a hint to where to find it? Extensive googling didn't render any answers :-/

many thanks,

Sven

User avatar
elParaguayo
Posts: 1943
Joined: Wed May 16, 2012 12:46 pm
Location: London, UK

Re: No module mainscreen

Sun Dec 17, 2017 9:40 pm

How have you installed OnAirScreen?

main screen.py seems to get built by the makefile.
https://github.com/saschaludwig/OnAirSc ... akefile#L3
RPi Information Screen: plugin based system for displaying weather, travel information, football scores etc.

Sven_C
Posts: 2
Joined: Sun Dec 17, 2017 6:15 pm

Re: No module mainscreen

Sun Dec 17, 2017 10:45 pm

Thank you! That was a hint in the right direction :-) It's running now.

And in case anybody finds this when installing OnAir: ntplib installed itself in the 3.4 directory and therefore could not be found by the older python.

hertz
Posts: 1
Joined: Tue Apr 04, 2017 5:49 pm

Re: No module mainscreen

Tue Feb 27, 2018 5:58 pm

I have the same problem in installing the onairscreen '' error File '' ./start.py '', line 46, in <module> from mainscreen import Ui_Mainscreen iportError: No module named mainscreen need help thanks!

stevecau
Posts: 1
Joined: Tue Apr 17, 2018 4:06 am

Re: No module mainscreen

Tue Apr 17, 2018 4:09 am

I'm newbie to the Pi, trying to get OnAirScreen to work. I need qt4 by the looks of things but can't install it. I'm not sure about the versions of the various software to get this to work.

Return to “Python”