Mopidy Discourse

Installing extensions installed with pip don't appear in service, but with apt

Hi,
I tried all the solutions [1] [2] (new users can only post 2 links, there is actually one more), that prior users were posting for running mopidy as a service, however I still cannot make mopidy discover the extensions that are installed with pip. On the other hand, however, they get discovered with apt (e.g. sudo apt install Mopidy-Spotify). I am using the latest version of raspian and mopidy. I believe it has something to do with the user mopidy. Can someone help me on what I am doing wrong?

Did you use the command in our instructions?

Thanks for the quick reply, @kingosticks. Yes I did exactly as the instructions say.

Can you please provide the output of sudo mopidyctl deps.

sure

pi@raspberrypi ~> sudo mopidyctl deps
Running "/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf deps" as user mopidy
    /usr/lib/python2.7/dist-packages/mopidy/ext.py:202: PkgResourcesDeprecationWarning: Parameters to load are deprecated.  Call .resolve and .require separately.
      extension_class = entry_point.load(require=False)
    Executable: /usr/bin/mopidy
    Platform: Linux-5.10.17-v7+-armv7l-with-debian-10.9
    Python: CPython 2.7.16 from /usr/lib/python2.7
    Mopidy: 2.2.2 from /usr/lib/python2.7/dist-packages
    GStreamer: 1.14.4.0 from /usr/lib/python2.7/dist-packages/gi
      Detailed information: 
        Python wrapper: python-gi 3.30.4
        Relevant elements:
          Found:
            uridecodebin
            souphttpsrc
            appsrc
            alsasink
            osssink
            oss4sink
            pulsesink
            id3demux
            id3v2mux
            lamemp3enc
            mpegaudioparse
            mpg123audiodec
            vorbisdec
            vorbisenc
            vorbisparse
            oggdemux
            oggmux
            oggparse
            flacdec
            flacparse
            shout2send
          Not found:
            flump3dec
            mad

Well, it seemed, that my mopidy still runs on Python 2.7.
I ran an apt upgrade and bumped mopidy into the latest version. Now the extensions are appearing. Thank you for your help.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.