ImportError: No module named yaml
<p>I am very new to PyDev and Python, though I have used Eclipse but I did't do much with it. So I am having some trouble with importing yaml in my Flask project. </p>

<p>I install yaml and I can import it from the terminal. But I can't import it when I try to run the project in the eclipse</p>

<pre><code>import yaml
ImportError: No module named yaml
</code></pre>

<p>What is the way of importing or setting yaml library to my eclipse flask project ? </p>