ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-05f9803d8eb1> in <module>
1 import numpy as np
----> 2 import matplotlib.pyplot as plt
3 import h5py
4 import scipy
5 from PIL import Image
d:\python3\lib\site-packages\matplotlib\__init__.py in <module>
172
173
--> 174 _check_versions()
175
176
d:\python3\lib\site-packages\matplotlib\__init__.py in _check_versions()
166 ("pyparsing", "2.0.1"),
167 ]:
--> 168 module = importlib.import_module(modname)
169 if LooseVersion(module.__version__) < minver:
170 raise ImportError("Matplotlib requires {}>={}; you have {}"
d:\python3\lib\importlib\__init__.py in import_module(name, package)
124 break
125 level += 1
--> 126 return _bootstrap._gcd_import(name[level:], package, level)
127
128
ModuleNotFoundError: No module named 'kiwisolver'
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-05f9803d8eb1> in <module>
2 import matplotlib.pyplot as plt
3 import h5py
----> 4 import scipy
5 from PIL import Image
6 from scipy import ndimage
ModuleNotFoundError: No module named 'scipy'
卸载了重装就行了