Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Error importing FigureCanvas #16834

Copy link
Copy link
Closed
@xo-HADES-xo

Description

@xo-HADES-xo
Issue body actions

Bug report

After updating to latest version (3.2.1) I started getting this error:

# Paste your code here
from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas
>>>from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas
Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas
  File "C:\Python37-32\lib\site-packages\matplotlib\backends\backend_qt4agg.py", line 5, in <module>
    from .backend_qt5agg import (
  File "C:\Python37-32\lib\site-packages\matplotlib\backends\backend_qt5agg.py", line 11, in <module>
    from .backend_qt5 import (
  File "C:\Python37-32\lib\site-packages\matplotlib\backends\backend_qt5.py", line 19, in <module>
    from .qt_compat import (
ImportError: cannot import name '_isdeleted' from 'matplotlib.backends.qt_compat' (C:\Python37-32\lib\site-packages\matplotlib\backends\qt_compat.py)

Matplotlib version

  • Operating system: Windows 10
  • Matplotlib version: 3.2.1
  • Matplotlib backend (print(matplotlib.get_backend())):TkAgg
  • Python version:3.7.6 (32Bit)
  • Jupyter version (if applicable):
  • Other libraries:
    altgraph 0.17
    astroid 2.3.3
    colorama 0.4.3
    cx-Freeze 6.1
    cycler 0.10.0
    future 0.18.2
    isort 4.3.21
    joblib 0.14.1
    kiwisolver 1.1.0
    lazy-object-proxy 1.4.3
    matplotlib 3.2.1
    mccabe 0.6.1
    mpmath 1.1.0
    numpy 1.18.2+mkl
    pandas 1.0.3
    pefile 2019.4.18
    pip 20.0.2
    psutil 5.7.0
    PyInstaller 4.0.dev0+d08a42c612
    pylint 2.4.4
    pyparsing 2.4.6
    PyQt4 4.11.4
    PyQt5-sip 12.7.1
    python-dateutil 2.8.1
    pytz 2019.3
    pywin32-ctypes 0.2.0
    scikit-learn 0.22.2.post1
    scipy 1.4.1
    setuptools 46.0.0
    six 1.14.0
    tailer 0.4.1
    typed-ast 1.4.1
    wrapt 1.12.1
    xlrd 1.2.0
    XlsxWriter 1.2.8
mzechmeister

Metadata

Metadata

Assignees

No one assigned

    Labels

    Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.