Python 为什么在安装PyQT5后,anaconda中缺少模块QTCore?
每次我执行此代码时,它都会给我ModuleNotFoundError。我使用的是spyder IDE ModuleNotFoundError:没有名为“PyQt5.QTCore”的模块 我尝试使用更新conda。但没有成功。如何修复此模块Python 为什么在安装PyQT5后,anaconda中缺少模块QTCore?,python,python-3.x,pyqt,pyqt5,Python,Python 3.x,Pyqt,Pyqt5,每次我执行此代码时,它都会给我ModuleNotFoundError。我使用的是spyder IDE ModuleNotFoundError:没有名为“PyQt5.QTCore”的模块 我尝试使用更新conda。但没有成功。如何修复此模块 from PyQt5.QtWidgets import QPushButton,QMainWindow,QApplication import sys from PyQt5.QTCore import QRect from PyQt5 import QtGui
from PyQt5.QtWidgets import QPushButton,QMainWindow,QApplication
import sys
from PyQt5.QTCore import QRect
from PyQt5 import QtGui
尝试QtCore,加上一点t:-)