No module named 'PyQt5.QtChart
时间: 2023-09-20 11:08:03 浏览: 306
PyCharm无法识别PyQt5的2种解决方法,ModuleNotFoundError: No module named ‘pyqt5’
The error message "No module named 'PyQt5.QtChart'" indicates that the PyQt5.QtChart module is not installed in your Python environment.
You can install it by running the following command in your terminal or command prompt:
```
pip install PyQt5.QtChart
```
Make sure you have pip installed and that you are using the correct Python environment. After installation, you should be able to import the module without any issues.
阅读全文