On Mon, Oct 22, 2018 at 8:30 AM Monica Dapiaggi <
mdap...@gmail.com> wrote:
...
> I have installed PDFgui and CMI on Ubuntu 18.04 (conda install) and
> almost everything worked fine.
> My only problem is with plotting in pdfgui (see error message below)
> and in the fact that dataplot is not available. I suppose there is
> something wrong with my matplotlib, but I cannot work out what the
> problem is...
> Can you help?
...
> Traceback (most recent call last):
...
> IOError: Could not find bitmap file "/home/mdapiaggi/anaconda2/lib/python2.7/site-packages/matplotlib/mpl-data/images/stock_save_as.xpm"; dying
Hi Monica,
This happens because matplotlib 2 is not compatible with the
last release of PDFgui. This has been declared in package dependencies
for PDFgui 1.1.2, but Anaconda seems to pick an earlier version
1.1.1 to keep the last matplotlib.
For now the solution is to explicitly request PDFgui 1.1.2
conda install -c diffpy "diffpy.pdfgui>=1.1.2"
This should downgrade matplotlib to version 1.x, which
will restore plotting functions.
The incompatibility with matplotlib 2 has been fixed in
PDFgui code repository. I will try to prepare an update
release soon to fix the installation problem.
Best,
Pavol