Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1173

Unable to import QtCharts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.14.0
    • PySide
    • None
    • QT creator 4.11
      Python 3.8
      Pyside 2
    • Windows

    Description

      I'm currently working on a project that requires the use of QAbstractSeries

      https://doc.qt.io/qtforpython/PySide2/QtCharts/QtCharts.QAbstractSeries.htmlhttps://doc.qt.io/qt-5/qml-qtcharts-abstractseries.html

      I'm using the import statement:

      from PySide2.QtCharts import QAbstractSeries

      this gives the following error:

      ImportError: cannot import name 'QAbstractSeries' from 'PySide2.QtCharts' (D:\4. Projecten\WLED_Entertainment\wled\lib\site-packages\PySide2\QtCharts.pyd)

      I'm guessing there is something wrong with the binding of the package.

      Any help is appreciated!

       

       

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            sceptorrh Bradley Lansink
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes