ModuleNotFoundError: No module named 'PIL'
pip install pillow
如果已经安装了,就先卸载再安装
ModuleNotFoundError: No module named 'torchvision'
pip install torchvision==0.4.1
ImportError: cannot import name 'PILLOW_VERSION' from 'PIL'
Python模块问题:ImportError: cannot import name 'PILLOW_VERSION' from 'PIL'_Lee_lg的专栏-CSDN博客在Anaconda中使用命令行pip install torchvision 安装了torchvision模块。安装成功在spyder中运行 import torchvision,报错,如下:报错解释:torchvision在运行时要调用PIL模块,调用PIL模块的PILLOW_VERSION函数。但是PILLOW_VERSION在Pillow 7.0.0之后的版本被移除了,Pill...https://blog.csdn.net/Lee_lg/article/details/103901632这个博主写的很详细了,我用的第二种方法,亲测可用
ModuleNotFoundError: No module named 'matplotlib'
python -m pip install matplotlib
ModuleNotFoundError: No module named 'scipy'
pip install scipy -i https://pypi.douban.com/simple
ModuleNotFoundError: No module named 'win32'
pip install pywin32 -i https://pypi.douban.com/simple