George  Han
George Han

Reputation: 11

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

enter image description here

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

Upvotes: 1

Views: 1238

Answers (1)

AndreyT
AndreyT

Reputation: 1499

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'>

Upvotes: 3

Related Questions