Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

matplotlib support failed in PyCharm on OSX

Any idea how to fix this ? How can I debug what might be the problem ? This does not seem to help : https://youtrack.jetbrains.com/issue/PY-15520

I get this in the console:

Python 2.6.9 (unknown, Jul 14 2015, 19:46:31) 
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin
>>> import matplotlib.pyplot as plt
Matplotlib support failed

The backend is :

>>> import matplotlib
>>> print(matplotlib.rcParams['backend'])
MacOSX
like image 730
jhegedus Avatar asked Sep 07 '16 11:09

jhegedus


1 Answers

Try rolling back matplotlib to version: 2.1.2

You can do that with pip for example:

pip install matplotlib==2.1.2

Jetbrains is trying to fix this. See the following post: https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000108710-Matplotlib-support-failed

like image 91
Krasnars Avatar answered Oct 18 '22 02:10

Krasnars