owenmck007
Posts: 1
Joined: Wed Apr 04, 2018 10:53 am

Python not importing modules

Wed Apr 04, 2018 10:59 am

Hi,
Whenever I try to run some python code on my raspberry Pi 3, it isn't importing any modules. Is there some reason to this?
Thanks

User avatar
DougieLawson
Posts: 36331
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Python not importing modules

Thu Apr 05, 2018 7:22 pm

Post the error messages on here.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

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

Re: Python not importing modules

Fri Apr 06, 2018 6:33 am

Error message would be a good place to start. Are you sure you've installed the module for python 3? You may think you have installed it but you may have only installed for python 2.
RPi Information Screen: plugin based system for displaying weather, travel information, football scores etc.

Return to “Python”