# Pirate radio spotify

**URL:** <https://forums.pimoroni.com/t/pirate-radio-spotify/5922>\
**Category:** Support\
**Created:** [September 10, 2017, 9:46pm UTC](https://forums.pimoroni.com/t/pirate-radio-spotify/5922 "2017-09-10T21:46:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![eddy](https://avatars.discourse-cdn.com/v4/letter/e/57b2e6/32.png) [@eddy](https://forums.pimoroni.com/u/eddy)\
**Post date:** [September 10, 2017, 9:46pm UTC](https://forums.pimoroni.com/t/pirate-radio-spotify/5922/1 "2017-09-10T21:46:55Z")

</div>

Hello  
It’s now five times that I try to install my “Pirate radio” with the script to use “Spotify” but I still have the same error message during installation:

"Configuring mopidy …

ERROR Failed to load iris extension: No module named spotipy  
Traceback (most recent call last):  
File “/usr/lib/python2.7/dist-packages/mopidy/ext.py”, line 202, in load\_extensions  
extension\_class = entry\_point.load (require = False)  
File “/usr/lib/python2.7/dist-packages/pkg\_resources.py”, line 2190, in load  
[‘name’])  
File “/usr/local/lib/python2.7/dist-packages/mopidy\_iris/init.py”, line 7, in  
import handlers  
File “/usr/local/lib/python2.7/dist-packages/mopidy\_iris/handlers.py”, line 5, in  
from spotipy import Spotify  
ImportError: No module named spotipy  
patching file /home/pi/.config/mopidy/mopidy.conf  
Hunk # 1 succeeded at 24 (offset -1 lines).  
Hunk # 2 succeeded at 34 (offset -1 lines).  
Hunk # 3 succeeded at 38 (offset -1 lines).  
Hunk # 4 FAILED at 61.  
Hunk # 5 succeeded at 60 (offset -7 lines).  
Hunk # 6 succeeded at 77 (offset -2 lines).  
Hunk # 7 succeeded at 108 (offset -17 lines).  
Hunk # 8 succeeded at 131 (offset -17 lines).  
Hunk # 9 succeeded at 133 (offset -17 lines).  
Hunk # 10 succeeded at 149 (offset -17 lines).  
Hunk # 11 FAILED at 183.  
2 out of 11 hunks FAILED - saving rejects to file /home/pi/.config/mopidy/mopidy.conf.rej "

Can someone help me?  
thank you

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [September 11, 2017, 11:53am UTC](https://forums.pimoroni.com/t/pirate-radio-spotify/5922/2 "2017-09-11T11:53:51Z")

</div>

Jessie or Stretch? If Stretch, try Jessie instead.

---

<div class="post-metadata">

**Author:** ![eddy](https://avatars.discourse-cdn.com/v4/letter/e/57b2e6/32.png) [@eddy](https://forums.pimoroni.com/u/eddy)\
**Post date:** [September 11, 2017, 4:45pm UTC](https://forums.pimoroni.com/t/pirate-radio-spotify/5922/3 "2017-09-11T16:45:47Z")

</div>

Jessie and stretch same result  
Sorry

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [September 11, 2017, 7:26pm UTC](https://forums.pimoroni.com/t/pirate-radio-spotify/5922/4 "2017-09-11T19:26:59Z")

</div>

Ok, it was just a thought. There have been a few issues where stretch breaks things. I don’t use spotify on my Pirate radio so I can’t be of much more help.

---

<div class="post-metadata">

**Author:** ![woogadoo](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/woogadoo/32/672_2.png) [@woogadoo](https://forums.pimoroni.com/u/woogadoo)\
**Post date:** [September 11, 2017, 9:28pm UTC](https://forums.pimoroni.com/t/pirate-radio-spotify/5922/5 "2017-09-11T21:28:47Z")

</div>

I’ve got the exact same issue, running Stretch Lite, as suggested by the setup guides.
