I am attempting to build the latest version of Meld on Ubuntu 20.10.
I have followed the instructions at https://github.com/GNOME/meld, ensuring I have the necessary packages for my system.
# Enabled "source code" in Sources & Updates.
sudo apt install git build-essential meson ninja-build gettext libgtk-3-dev python-gi-dev python3-cairo-dev appstream-util libgtksourceview-4-dev
sudo apt-get build-dep meld
git clone https://github.com/GNOME/meld.git
cd meld
meson _build
cd _build
ninja
ninja install
Everything goes fine, but when I attempt to run meld, I get the following error
cd ~
meld
Traceback (most recent call last):
  File "/usr/local/bin/meld", line 97, in <module>
    import meld.conf  # noqa: E402
ModuleNotFoundError: No module named 'meld'
I suspect this has something to do with where the files were installed on my system.
I can see that meld was installed to /usr/local/lib/python3.8/site-packages/ while I was expecting it to install to /usr/share.
Additionally, I was expecting the executable to be placed in /usr/bin but it is in /usr/local/bin.
which meld
/usr/local/bin/meld
What am I doing wrong?
 
     
    