I tried installing flair and geoviewer on centos 8. Flair got installed but encountered following error while installing geoviewer: nothing provides python3-imaging-tk needed by flair-geoviewer-3.0-7.x86_64.
@akardeepak every linux distribution uses different names for the packages. In Centos I believe it should be
python3-pillow-tk
He Deepak,
it seems, that Centos 8 doesn’t have the python-pillow-tk package in it’s repository.
But the following steps could solve the problem:
- Remove the python3-pillow package (
sudo dnf remove python3-pillow
) - Install the Pillow package from PyPi (
pip3 install --user Pillow
) - Compile Geoviewer from the source (See instruction at the bottom of the page: link)
Cheers,
David
Thanks but neither python3-pillow-tk is available for centos nor the installation of Pillow followed by rpmbuild and installation of generated RPM worked.
Dear Deepak,
please try installing from the TAR source code.
Cheers,
David
Thanks. I think it worked as flair showed geoviewer with it. For confirmation can you check its right that the make install command ends with following:
mkdir -p /usr/local/flair
mkdir -p /usr/local/flair/fonts
install -m 644 geoviewer.so /usr/local/flair
install -m 755 usrbin2dvh /usr/local/flair
for f in AUTHORS BUGS ChangeLog README LICENSE; do
install -m 644 $f /usr/local/flair/$f.geoviewer;
done
for f in fonts/*.tga;do
install -m 644 $f /usr/local/flair/fonts;
done
make: Nothing to be done for ‘/usr/local/flair’.
Dear Deepak,
the output looks correct.
Cheers,
David