# Scrollphat cant find python3-psutil

**URL:** <https://forums.pimoroni.com/t/scrollphat-cant-find-python3-psutil/1399>\
**Category:** Support\
**Created:** [December 17, 2015, 2:54pm UTC](https://forums.pimoroni.com/t/scrollphat-cant-find-python3-psutil/1399 "2015-12-17T14:54:07Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![adamc](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@adamc](https://forums.pimoroni.com/u/adamc)\
**Post date:** [December 17, 2015, 2:54pm UTC](https://forums.pimoroni.com/t/scrollphat-cant-find-python3-psutil/1399/1 "2015-12-17T14:54:07Z")

</div>

I’ve got a PI2 and the Scrollphat, but when I run the sudo curl -sSL [get.pimoroni.com/scrollphat](http://get.pimoroni.com/scrollphat) | bash everything goes fine until it tries to find python3-psutil and i get the message

Sorry, Apt failed to install python3-psutil, I can’t continue!

---

<div class="post-metadata">

**Author:** ![RogueM](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/roguem/32/311_2.png) [@RogueM](https://forums.pimoroni.com/u/RogueM)\
**Post date:** [December 17, 2015, 4:27pm UTC](https://forums.pimoroni.com/t/scrollphat-cant-find-python3-psutil/1399/2 "2015-12-17T16:27:50Z")

</div>

can you let me know what OS you’re on. You can do the following to find out:

```
cat /etc/os-release

```

other than that, try to run apt-get update then try the script again, I sort of have an inkling as to what might be going on.

---

<div class="post-metadata">

**Author:** ![adamc](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@adamc](https://forums.pimoroni.com/u/adamc)\
**Post date:** [December 17, 2015, 7:41pm UTC](https://forums.pimoroni.com/t/scrollphat-cant-find-python3-psutil/1399/3 "2015-12-17T19:41:25Z")

</div>

Hi its the following  
PRETTY\_NAME="Raspbian GNU/Linux 7 (wheezy)"  
NAME="Raspbian GNU/Linux"  
VERSION\_ID="7"  
VERSION="7 (wheezy)"  
ID=raspbian  
ID\_LIKE=debian  
ANSI\_COLOR="1;31"  
HOME\_URL="[http://www.raspbian.org/](http://www.raspbian.org/)"  
SUPPORT\_URL="[http://www.raspbian.org/RaspbianForums](http://www.raspbian.org/RaspbianForums)"  
BUG\_REPORT\_URL=“[http://www.raspbian.org/RaspbianBugs](http://www.raspbian.org/RaspbianBugs)”

Also during running the install script I see the error message  
dpkg-query: no packages found matching python3-psutil

---

<div class="post-metadata">

**Author:** ![RogueM](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/roguem/32/311_2.png) [@RogueM](https://forums.pimoroni.com/u/RogueM)\
**Post date:** [December 17, 2015, 8:54pm UTC](https://forums.pimoroni.com/t/scrollphat-cant-find-python3-psutil/1399/4 "2015-12-17T20:54:36Z")

</div>

yes, that is right… psutil is not in the Apt repo for Raspbian Wheezy. It will be fixed but right now, you can:

```
sudo pip-3.2 install psutil

```

that should do it.

---

<div class="post-metadata">

**Author:** ![adamc](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@adamc](https://forums.pimoroni.com/u/adamc)\
**Post date:** [December 17, 2015, 11:15pm UTC](https://forums.pimoroni.com/t/scrollphat-cant-find-python3-psutil/1399/5 "2015-12-17T23:15:22Z")

</div>

That I can install, but the script still seems to require the python3-psutil and stops at the install. Is there a way to override it? I thought about removing it from the pkgdeplist but then get Failed building wheel for pillow error instead

Perhaps a simpler install that doesnt require it ?

---

<div class="post-metadata">

**Author:** ![RogueM](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/roguem/32/311_2.png) [@RogueM](https://forums.pimoroni.com/u/RogueM)\
**Post date:** [December 18, 2015, 1:26am UTC](https://forums.pimoroni.com/t/scrollphat-cant-find-python3-psutil/1399/6 "2015-12-18T01:26:49Z")

</div>

This module is totally dispensable, it is just used for one of the example.

The pillow error is completely separate, it’s a failure from the pip repo. I need to discuss with @gadgetoid what we are going to do about this puppy because it is a troublemaker for sure ;-)

---

<div class="post-metadata">

**Author:** ![adamc](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@adamc](https://forums.pimoroni.com/u/adamc)\
**Post date:** [December 19, 2015, 3:08am UTC](https://forums.pimoroni.com/t/scrollphat-cant-find-python3-psutil/1399/7 "2015-12-19T03:08:26Z")

</div>

does that mean it does not work with anything other than the zero at present?

---

<div class="post-metadata">

**Author:** ![RogueM](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/roguem/32/311_2.png) [@RogueM](https://forums.pimoroni.com/u/RogueM)\
**Post date:** [December 19, 2015, 9:45am UTC](https://forums.pimoroni.com/t/scrollphat-cant-find-python3-psutil/1399/8 "2015-12-19T09:45:44Z")

</div>

no, not at all, it’s trickier to get going on Wheezy as opposed to Jessie however as there is no easy way to fall back on the apt repo when pip craps out as it seems to be doing here.

---

<div class="post-metadata">

**Author:** ![adamc](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@adamc](https://forums.pimoroni.com/u/adamc)\
**Post date:** [December 20, 2015, 2:59am UTC](https://forums.pimoroni.com/t/scrollphat-cant-find-python3-psutil/1399/9 "2015-12-20T02:59:06Z")

</div>

so how can i get this to work as its advertised to work with a pi 2, or has it never been tested as such?

---

<div class="post-metadata">

**Author:** ![RogueM](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/roguem/32/311_2.png) [@RogueM](https://forums.pimoroni.com/u/RogueM)\
**Post date:** [December 20, 2015, 10:32am UTC](https://forums.pimoroni.com/t/scrollphat-cant-find-python3-psutil/1399/10 "2015-12-20T10:32:38Z")

</div>

Yes, again this has nothing to do with the type of Pi but you’d have to upgrade your OS to Jessie, or if you are happy with using python 2 then I think it’s possible to work around. Well, everything is possible if you are willing to compile pillow from source.

---

<div class="post-metadata">

**Author:** ![RogueM](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/roguem/32/311_2.png) [@RogueM](https://forums.pimoroni.com/u/RogueM)\
**Post date:** [December 20, 2015, 4:17pm UTC](https://forums.pimoroni.com/t/scrollphat-cant-find-python3-psutil/1399/11 "2015-12-20T16:17:53Z")

</div>

Sorry, it got pretty hectic my end earlier so my answer did not outline how you can upgrade your system…

… first of all I **highly** recommend you start from a fresh Jessie image, but sometimes it isn’t practical. You CAN upgrade your Raspbian to Jessie from its current state though, but this carries risks so make sure you back up your SD.

Also, unless you have a 16GB SD don’t even try to switch your distro as you’ll likely run out of space, which will lead to a set of obstacles to overcome by itself… see the following link on that subject: [https://www.raspberrypi.org/documentation/raspbian/updating.md](https://www.raspberrypi.org/documentation/raspbian/updating.md)

Once you are ready to take the leap, check out this link that will tell you what the process is. Allow plenty of time too!

[https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=121880](https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=121880)

Ultimately, this may not be worth the hassle. It IS possible that the pip issue regarding pillow will work itself out in the near future, it is after all required for the ridiculously popular sense HAT from the foundation ;-)

---

<div class="post-metadata">

**Author:** ![adamc](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@adamc](https://forums.pimoroni.com/u/adamc)\
**Post date:** [December 21, 2015, 1:34am UTC](https://forums.pimoroni.com/t/scrollphat-cant-find-python3-psutil/1399/12 "2015-12-21T01:34:34Z")

</div>

The upgrade to Jessie worked, but the scrollphat didnt at first. There were issues with missing font.png and then IO zip errors and PIL errors  
Did a lot of deleting Pil, delete and install of pillow and Pillow, then followed some instructions that loaded a zlib and then re-install the pillow and eventually got it to work.  
I’ve got 270 of these to make :( so will revert to the arduino version
