When opening Spyder (dev-python/spyder-4.1.2) after the Python 3.6 to 3.7 update, I got the following error: ========================================================================= NOTE: The following error appeared when setting your Matplotlib backend!! ========================================================================= Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/spyder_kernels/console/kernel.py", line 566, in _set_mpl_backend get_ipython().run_line_magic(magic, backend) File "/usr/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 2307, in run_line_magic result = fn(*args, **kwargs) File "<decorator-gen-108>", line 2, in matplotlib File "/usr/lib/python3.7/site-packages/IPython/core/magic.py", line 187, in <lambda> call = lambda f, *a, **k: f(*a, **k) File "/usr/lib/python3.7/site-packages/IPython/core/magics/pylab.py", line 99, in matplotlib gui, backend = self.shell.enable_matplotlib(args.gui) File "/usr/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3384, in enable_matplotlib pt.activate_matplotlib(backend) File "/usr/lib/python3.7/site-packages/IPython/core/pylabtools.py", line 313, in activate_matplotlib import matplotlib.pyplot File "/usr/lib/python3.7/site-packages/matplotlib/pyplot.py", line 31, in <module> import matplotlib.colorbar File "/usr/lib/python3.7/site-packages/matplotlib/colorbar.py", line 32, in <module> import matplotlib.artist as martist File "/usr/lib/python3.7/site-packages/matplotlib/artist.py", line 16, in <module> from .path import Path File "/usr/lib/python3.7/site-packages/matplotlib/path.py", line 21, in <module> from . import _path, rcParams ImportError: /usr/lib/python3.7/site-packages/matplotlib/_path.cpython-37m-x86_64-linux-gnu.so: undefined symbol: MPL_matplotlib__image_ARRAY_API Reproducible: Always Steps to Reproduce: 1. Start an (ipython) console in Spyder Actual Results: error message Expected Results: no error message
If anyone can provide a workaround, that would be greatly appreciated. My work environment (analysis/development) doesn't work any more because of this. Many packages import matplotlib so anything that requires it causes my code to scripts out.
*** This bug has been marked as a duplicate of bug 699966 ***