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: 36322
Joined: Sun Jun 16, 2013 11:19 pm
Location: 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: 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.

Return to “Astro Pi”