# Not working after plugin installation

**URL:** <https://discourse.mopidy.com/t/not-working-after-plugin-installation/736>\
**Category:** Misc\
**Created:** [May 19, 2015, 3:23pm UTC](https://discourse.mopidy.com/t/not-working-after-plugin-installation/736 "2015-05-19T15:23:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ArthurJam](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@ArthurJam](https://discourse.mopidy.com/u/ArthurJam)\
**Post date:** [May 19, 2015, 3:23pm UTC](https://discourse.mopidy.com/t/not-working-after-plugin-installation/736/1 "2015-05-19T15:23:02Z")

</div>

Hello,

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.

```auto
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

```

```auto
pi@raspberrypi ~ $ which mopidy
/usr/bin/mopidy

```

```auto
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

```

Thanks.

---

<div class="post-metadata">

**Author:** ![jodal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/jodal/32/2564_2.png) [@jodal](https://discourse.mopidy.com/u/jodal)\
**Post date:** [May 19, 2015, 6:24pm UTC](https://discourse.mopidy.com/t/not-working-after-plugin-installation/736/2 "2015-05-19T18:24:49Z")

</div>

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:

```auto
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.

---

<div class="post-metadata">

**Author:** ![ArthurJam](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@ArthurJam](https://discourse.mopidy.com/u/ArthurJam)\
**Post date:** [May 19, 2015, 7:39pm UTC](https://discourse.mopidy.com/t/not-working-after-plugin-installation/736/3 "2015-05-19T19:39:25Z")

</div>

Hello,

Thanks for the fast answer.  
And this help solved my problem.  
You can close this issue.

Merci 😃

---

<div class="post-metadata">

**Author:** ![ArthurJam](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@ArthurJam](https://discourse.mopidy.com/u/ArthurJam)\
**Post date:** [May 22, 2015, 2:39pm UTC](https://discourse.mopidy.com/t/not-working-after-plugin-installation/736/4 "2015-05-22T14:39:37Z")

</div>

Hi,

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 :

```auto
sudo pip install Mopidy-MusicBox-Webclient

```

But i cant find him after a restart of the mopidy service.

```auto
pi@raspberrypi ~ $ sudo cat /etc/mopidy/mopidy.conf
[logging]
config_file = /etc/mopidy/logging.conf
debug_file = /var/log/mopidy/mopidy-debug.log

[local]
data_dir = /var/lib/mopidy/local
media_dir = /var/lib/mopidy/media

[m3u]
playlists_dir = /var/lib/mopidy/playlists

[musicbox_webclient]
enabled = true
musicbox = false

[http]
enabled = true
hostname = 0.0.0.0
port = 6680
static_dir =
zeroconf = Mopidy HTTP server on $hostname

```

```auto
pi@raspberrypi ~ $ sudo mopidyctl deps
Running "/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf deps" as user mopidy
X11 connection rejected because of wrong authentication.
Executable: /usr/bin/mopidy
Platform: Linux-3.18.13-v7+-armv7l-with-debian-7.8
Python: CPython 2.7.3 from /usr/lib/python2.7
Mopidy: 1.0.4 from /usr/lib/python2.7/dist-packages
  Pykka>=1.1: 1.2.0 from /usr/lib/python2.7/dist-packages
  tornado>=2.3: 2.3 from /usr/lib/python2.7/dist-packages
GStreamer: 0.10.36.0 from /usr/lib/python2.7/dist-packages/gst-0.10/gst
  Detailed information:
    Python wrapper: gst-python 0.10.22.0
    Relevant elements:
      Found:
        uridecodebin
        souphttpsrc
        appsrc
        alsasink
        osssink
        oss4sink
        pulsesink
        id3demux
        id3v2mux
        lame
        mad
        mp3parse
        vorbisdec
        vorbisenc
        vorbisparse
        oggdemux
        oggmux
        oggparse
        flacdec
        flacparse
        shout2send
      Not found:
        flump3dec

```

---

<div class="post-metadata">

**Author:** ![ArthurJam](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@ArthurJam](https://discourse.mopidy.com/u/ArthurJam)\
**Post date:** [May 22, 2015, 4:40pm UTC](https://discourse.mopidy.com/t/not-working-after-plugin-installation/736/5 "2015-05-22T16:40:39Z")

</div>

Ok, i found one solution.

Uninstall all python package by using :

```auto
pip freeze | xargs pip uninstall -y

```

And reinstall mopidy 😄
