Pyplot/matplotlib crashes Julia both 0.5.2 and 0.6.0

The error is
This application failed to start because it could not find or load the Qt platform plugin “xcb”
in “”.

 Available platform plugins are: minimal, offscreen, xcb.

It used to work fine until yesterday.

Any help is most welcome!!!
JPD

Did you update your Qt installation? Which OS are you using?

You probably can manually set the search path, e.g.:

export QT_QPA_PLATFORM_PLUGIN_PATH=${QTDIR}/plugins/platforms

Thanks for your suggestion.

I just solved my issue. I guess Conda.jl was updated and now requires newer versions of 4 libraries from libQt5. I manually prepend before the actual call to julia

LD_LIBRARY_PATH=~/.julia/v0.5/Conda/deps/usr/lib/:$LD_LIBRARY_PATH julia

and it works. Shouldn’t Conda use its own versions by default? I would be afraid that something else crashes if I redefine LD_LIBRARY_PATH globally.

I use Ubuntu 16.04LTS, so I hope my experience may eventually help someone else.

JPD