PS D:\python work> & D:/Python/Python38/python.exe "d:/python work/mpl_squares.py"
Traceback (most recent call last):
File "d:/python work/mpl_squares.py", line 2, in <module>
import matplotlib.pyplot as plt
File "D:\Python\Python38\lib\site-packages\matplotlib\__init__.py", line 113, in <module>
from . import _api, _version, cbook, _docstring, rcsetup
File "D:\Python\Python38\lib\site-packages\matplotlib\rcsetup.py", line 27, in <module>
from matplotlib.colors import Colormap, is_color_like
File "D:\Python\Python38\lib\site-packages\matplotlib\colors.py", line 56, in <module>
from matplotlib import _api, _cm, cbook, scale
File "D:\Python\Python38\lib\site-packages\matplotlib\scale.py", line 22, in <module>
from matplotlib.ticker import (
File "D:\Python\Python38\lib\site-packages\matplotlib\ticker.py", line 138, in <module>
from matplotlib import transforms as mtransforms
File "D:\Python\Python38\lib\site-packages\matplotlib\transforms.py", line 49, in <module>
from matplotlib._path import (
ImportError: DLL load failed while importing _path: 找不到指定的模块。
安装matplotlib成功的,但是执行起来有错。错误信息如下
最新推荐文章于 2024-03-05 14:39:18 发布