No Module named PIL

前端 未结 7 1669
小蘑菇
小蘑菇 2021-02-01 03:51

I know PIL is deprecated, so I installed Pillow instead, and for backward compatibility reason, Pillow is still using PIL as its module name. Here\'s my pip freeze look

7条回答
  •  眼角桃花
    2021-02-01 04:01

    For me, when I was trying to use PIL in PyCharm, initially the Project Interpreter was not looking at the correct location for Python 3.7. This has been corrected and using PIL works for me now (corrected Interpreter shown in image attached).

提交回复
热议问题