hankhank10 / music-screen-api

Display the playing Sonos track in real time on an e-ink display - also includes functionality for last.fm
120 stars 17 forks source link

"No module named 'aiohttp'" #21

Closed habra-cadabra closed 4 years ago

habra-cadabra commented 4 years ago

Hello!

was having the same issues covered in #16 & #19 so I decided to switch to the dev branch temporarily. when attempting to start go_sonos_highres.py up to test I get the following error:

$ DISPLAY=:0 /usr/bin/python3 /home/pi/music-screen-api/go_sonos_highres.py
Traceback (most recent call last):
  File "/home/pi/music-screen-api/go_sonos_highres.py", line 16, in <module>
    from aiohttp import ClientError, ClientSession
ModuleNotFoundError: No module named 'aiohttp'

switched back to the origin branch and everything is back to normal. it's very likely I'm doing something wrong, but I can't locate this file anywhere.

Thanks!

jjlawren commented 4 years ago

It's a new dependency. Just run this:

sudo pip3 install aiohttp
habra-cadabra commented 4 years ago

that was it, thank you for your help.