Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Problems Importing PySide2.QCharts
metalshreds last edited by metalshreds
Using latest Anaconda 3.7 using spyder for coding
have tried installed pyside2 through conda as well as through pip but still can't import the charts
Example I'm looking at
I run: import PySide2.QtCharts
which tells me is unused, then try
series = QtCharts.QLineSeries()
and get the error: NameError: name 'QtCharts' is not defined
Any help is appreciated, thanks!
metalshreds last edited by
I was able to solve this by switching to pycharm, for some reason spyder did not want to cooperate, kept getting DLL not found errors, "application failed could not find or load qt plugin could not be initialized", and importing QCharts would not work. everything seems to be working now thorough pycharm.