# Pyplot/matplotlib crashes Julia both 0.5.2 and 0.6.0

**URL:** <https://discourse.julialang.org/t/pyplot-matplotlib-crashes-julia-both-0-5-2-and-0-6-0/4434>\
**Category:** General Usage\
**Created:** [June 23, 2017, 9:35pm UTC](https://discourse.julialang.org/t/pyplot-matplotlib-crashes-julia-both-0-5-2-and-0-6-0/4434 "2017-06-23T21:35:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vepiteski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vepiteski/32/3746_2.png) [@vepiteski](https://discourse.julialang.org/u/vepiteski)\
**Post date:** [June 23, 2017, 9:35pm UTC](https://discourse.julialang.org/t/pyplot-matplotlib-crashes-julia-both-0-5-2-and-0-6-0/4434/1 "2017-06-23T21:35:09Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jheinen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jheinen/32/2787_2.png) [@jheinen](https://discourse.julialang.org/u/jheinen)\
**Post date:** [June 23, 2017, 10:03pm UTC](https://discourse.julialang.org/t/pyplot-matplotlib-crashes-julia-both-0-5-2-and-0-6-0/4434/2 "2017-06-23T22:03:33Z")

</div>

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`

---

<div class="post-metadata">

**Author:** ![vepiteski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vepiteski/32/3746_2.png) [@vepiteski](https://discourse.julialang.org/u/vepiteski)\
**Post date:** [June 23, 2017, 10:10pm UTC](https://discourse.julialang.org/t/pyplot-matplotlib-crashes-julia-both-0-5-2-and-0-6-0/4434/3 "2017-06-23T22:10:12Z")

</div>

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
