pa0dow
Posts: 1
Joined: Thu Sep 29, 2016 5:37 pm

python astro pi

Thu Sep 29, 2016 5:45 pm

I am trying to use my sensehat on the raspberry pi 3
Every time when I use the next line in the terminal
from sense_hat import SenseHat
or
from sense-hat import SenseHat
i became an error

can't read /var/mail/sense_hat

Is there a solution for this problem?

User avatar
DougieLawson
Posts: 38883
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: python astro pi

Thu Sep 29, 2016 8:46 pm

Rename your sense_hat.py program to any other name than sense_hat.py it looks like you're code is re-importing itself.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Astro Pi”