其他分享
首页 > 其他分享> > ModuleNotFoundError: No module named ‘kiwisolver‘

ModuleNotFoundError: No module named ‘kiwisolver‘

作者:互联网

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'

卸载了重装就行了

标签:__,named,module,scipy,matplotlib,import,ModuleNotFoundError,kiwisolver
来源: https://blog.csdn.net/weixin_56701689/article/details/118959289