Incorrect binary install location

When I install Mopidy from the deb install, I get this error:

bash: /usr/local/bin/mopidy: No such file or directory

I can find the binary in /usr/bin though. Any fixes for this?

What distribution is this?

I’m using Raspbian Stretch.

New information: running sudo pip2 install mopidy on Stretch gives me the error bash: /usr/bin/mopidy: No such file or directory

I just followed the instructions at on the latest Raspbian (which is Buster as of yesterday) and had no problems. I then did a sudo apt-get install mopidy-spotify and that installed correctly too. I am fully confident those instructions still work for Stretch as I used them numerous times. I’m a bit confused why pip2 is coming into this on a Debian system, none of our documentation mentions it.

Is it possible you have somehow gotten your system in a bad state after trying to install something a different way?

I use pip2 since my default pip is for Python3. I guess the only way to reproduce this is to check again on Raspbian Jessie and Stretch from a clean install.

I see, so not quite a normal setup. Have you also made python3 your default?