ehsanfshah
Posts: 6
Joined: Sat Jan 30, 2016 5:32 pm

SenseHat SOFTWARE INSTALLATION

Sat Jan 30, 2016 5:47 pm

Could anyone help me please I installed the AstroPi SenseHat following the guide: https://www.raspberrypi.org/learning/astro-pi-guide/. However, when I write the SENSE HAT: FIRST PROGRAM https://www.raspberrypi.org/learning/as ... program.md I get an error...

Error:
>>>
Traceback (most recent call last):
File "/home/pi/sense1.py", line 1, in <module>
from sense_hat import SenseHat
File "/usr/lib/python3/dist-packages/sense_hat/__init__.py", line 2, in <module>
from .sense_hat import SenseHat, SenseHat as AstroPi
File "/usr/lib/python3/dist-packages/sense_hat/sense_hat.py", line 14, in <module>
from PIL import Image # pillow
ImportError: No module named PIL
>>>

Does anyone know what could be the problem?

Also, I searched on the Internet and found this: http://cullaloe.com/blog/2015/09/17/hel ... -nice-hat/

I tried to install

sudo apt-get install sense-hat
sudo pip-3.2 install pillow

But no luck!

Please help me...

Thanks

Ehsan

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6228
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: SenseHat SOFTWARE INSTALLATION

Sat Jan 30, 2016 5:57 pm

If you are using the latest Jessie image, all the software should already be installed. You should be able to start programming right away.

ehsanfshah
Posts: 6
Joined: Sat Jan 30, 2016 5:32 pm

Re: SenseHat SOFTWARE INSTALLATION

Sat Jan 30, 2016 6:32 pm

Okay I see. I am using Raspbian Wheezy. I shall try Raspbian Jessie.

Thanks

Return to “Astro Pi”