以防万一
*安装Pillow和libjpeg
切换python到python2.7
cd usr/bin
mv python python.bak3
mv python.bak2 python
注 python.bak3为python3的链接, python.bak2为python2.7的链接
yum install libjpeg-devel
切换python回python3
pip install Pillow
以防万一
*安装Pillow和libjpeg
切换python到python2.7
cd usr/bin
mv python python.bak3
mv python.bak2 python
注 python.bak3为python3的链接, python.bak2为python2.7的链接
yum install libjpeg-devel
切换python回python3
pip install Pillow