title: osx - Why can't my text editor (Text Wrangler) find lxml but I can use it when running Python from Terminal?
body: <p>I'm trying to import lxml into my code that I'm working with in text editor, using: </p>
  
  <pre><code>from lxml import etree
  </code></pre>
  
  <p>But when I run my code, I get an import error that says</p>
  
  <blockquote>
    <p>No module named 'lxml'</p>
  </blockquote>
  
  <p>If I run python from the terminal, however, I can use the lxml module with no problem. Why is this, and how can I fix it?  </p>