After a plugin installation, mopidy is not longer running.
I try to uninstall all (apt source for mopidy and some plugins by pip), and just reinstall the package Mopidy from apt source. But it’s still not working. I have an error at launch.
pi@raspberrypi ~ $ mopidy
Traceback (most recent call last):
File "/usr/bin/mopidy", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in <module>
working_set.require(__requires__)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: certifi
pi@raspberrypi ~ $ which mopidy
/usr/bin/mopidy
pi@raspberrypi ~ $ mopidy deps
Traceback (most recent call last):
File "/usr/bin/mopidy", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in <module>
working_set.require(__requires__)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: certifi
certifi is a dependency of Tornado >= 4.0. Neither Debian, Ubuntu or Raspbian come with a newer Tornado than 3.2 yet. Thus this indicates that you have remnants of Tornado from pip installed.
Try removing any pip-installed certifi and Tornado completely:
sudo pip uninstall certifi tornado
You should already have an apt-installed Tornado as the python-tornado package is a dependency of the mopidy Debian package.
Your help solved my first problem but now i cant install new plugins.
If I install a plugin by pip, the mopidy server dont load him.
For exemple I try to install musicbox web client with this command :
sudo pip install Mopidy-MusicBox-Webclient
But i cant find him after a restart of the mopidy service.