大部分问题是
1版本问题 软件版本问题,重新按一下
2一个是pip,一个是setuptools,升级方式如下:
python -m pip install --upgrade setuptools
3终极,我还专门上外网查的
The headers or library files could not be found for zlib, a required dependency when compiling Pillow from source
我最后靠这个解决的,由于不知道你调用的是哪个
所以python -m pip install -U --force-reinstall pip