On 8 May 2016 at 08:59, Britton Kerin <[email protected]> wrote:
> After trying ton install meld 3.16.0 like this:
>
>      python setup.py install --prefix=/home/bkerin/local
>
> I get this:
>
>      $ meld
>      Traceback (most recent call last):
>        File "/home/bkerin/local/bin/meld", line 73, in <module>
>          import meld.conf
>      ImportError: No module named meld.conf
>      1 $
>
> Just copying bin/meld to where I want it causes the same failure at run time.
>
> The sources don't seem to contain an explicit meld.conf.  Things do
> work when I run it
> in place though, so apparently there's some magic going on that I
> don't know about.
>
> In general, the install directions could be better and it would be
> useful.  They refer to standard
> distutils, but I have no idea about those.  I use python for meld and
> that's it.  I had trouble
> finding --prefix because apparently --help doesn't tell you about that
> until you include the
> install command.  And of course it still doesn't work for me, probably
> for some stupid reason.

My best guess is that you don't have the site-packages folder under
~/local (probably ~/local/lib/python2.7/site-packages) in your python
path. You can add with the PYTHONPATH environment variable.

The usual local install prefix is ~/.local, which should (depending on
your distribution I guess) already be in your python path.

> meld is so wildly popular now it's not good to assume everyone who
> would like to build the latest version knows anything about python.

The global install instructions are there and should work, and for
per-user use, Meld runs just fine when run in place.

cheers,
Kai
_______________________________________________
meld-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/meld-list

Reply via email to