Import QtCharts in motionbuilder python scripts

from PySide2.QtCharts import *

when I use the code to import somthing ,I got “Cannot find reference ‘QtCharts’ in ‘ |’”. How can I import QtCharts in motionbuilder python scripts?

Which version of motionbuilder?
The initial assumption is that the version of PySide2 that mobu ships with doesn’t include that package.

How can I install QtCharts package manually?I use Motionbuilder 2020

If it isn’t in that build of PySide2 then you can’t as PySide2 is compiled to match the qt version that mobu is built with