Python IOError: [Errno 2] No such file or directory:
<p>I am just trying to open an image, I know there are several IOError questions on here, but I have not been able to understand the explanations.</p>

<p>The code i typed is here</p>

<pre><code>from PIL import Image

image = Image.open("Lenna.png")
image.load()
</code></pre>

<p>The error obtained is as follows:</p>

<pre><code>Traceback (most recent call last):
  File "C:\Python27\hello world.py", line 4, in &lt;module&gt;
    image = Image.open("Lenna.png")
  File "C:\Python27\lib\site-packages\PIL\Image.py", line 1952, in open
    fp = __builtin__.open(fp, "rb")
IOError: [Errno 2] No such file or directory: 'Lenna.png'
</code></pre>

<p>What do I do here?
Thank you.</p>