When I start Frescobaldi _from Gnome shell_, I always get the error about python-ly being not installed or too old.
Frescobaldi and python-ly are not installed in any directory.
This is the Exec command:
$ cat ~/.local/share/applications/frescobaldi.desktop | grep Exec
Exec=python3 /home/fede/src/frescobaldi/frescobaldi
NB: this command works fine if I launch it from a terminal.
So I guess that this dekstop file does not find anymore the PYTHONPATH variable defined in my bashrc:
$ cat ~/.bashrc | grep PYTHONPATH
export PYTHONPATH=~/src/python-ly
So I decided to work around the problem by installing python-ly, but I'm failing:
####################################################################
$ sudo python3 setup.py install --prefix /usr/local
running install
Checking .pth file support in /usr/local/lib/python3.5/site-packages/
/bin/python3 -E -c pass
TEST FAILED: /usr/local/lib/python3.5/site-packages/ does NOT support .pth files
error: bad install directory or PYTHONPATH
You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from. The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/usr/local/lib/python3.5/site-packages/
and your PYTHONPATH environment variable currently contains:
''
Here are some of your options for correcting the problem:
* You can choose a different installation directory, i.e., one that is
on PYTHONPATH or supports .pth files
* You can add the installation directory to the PYTHONPATH environment
variable. (It must then also be on PYTHONPATH whenever you run
Python and want to use the package(s) you are installing.)
* You can set up the installation directory to support ".pth" files by
using one of the approaches described here:
https://pythonhosted.org/setuptools/easy_install.html#custom-installation-locationsPlease make the appropriate changes for your system and try again.
####################################################################