在导入matplotlib(实际上是matplotlib.pyplot
)时如何消除此错误?
ImportError: DLL load failed while importing _cext: The specified module could not be found
这是在重新安装Windows 10后进行的全新Python和Pycharm安装。我正在使用Python 3.11.2和Pycharm Community Edition 2022.3.3。
在重新安装Windows之前,我没有遇到过这个问题。很可能我之前使用的是较旧版本的Python和Pycharm,但不是太旧(记不清具体是哪个版本),大约六到八个月前的版本。