简体   繁体   中英

I have installed pil with conda but when I try to import it, it says no module exists

在此输入图像描述

I have installed pil with conda but when I try to import it, it says no module exists.

Have you tried to import the module in uppercase?

In [3]: import pil
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-3-2fdcc9532329> in <module>()
----> 1 import pil

ImportError: No module named pil

In [4]: import PIL

In [5]: PIL
Out[5]: <module 'PIL' from '/usr/lib/python2.7/site-packages/PIL/__init__.pyc'>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM