title: How do I debug a "can not import" error on package import
body: <p>I am new to python and trying to get a feel for python fuse with <a href="http://www.stavros.io/posts/python-fuse-filesystem/" rel="nofollow">this</a> tutorial. I installed pythonfuse with pip. I installed os x fuse by downloading a dmg and installing on os x. When I run this line of code <code>from fuse import FUSE, FuseOSError, Operations</code> from the tutorial I see this:</p>
  
  <pre><code>akh2103$ python myfuse.py 
  Traceback (most recent call last):
    File "myfuse.py", line 10, in &lt;module&gt;
      from fuse import FUSE, FuseOSError, Operations
  ImportError: cannot import name FUSE
  </code></pre>
  
  <p>It seems like it can't find the fuse package, can't find the python fuse package or can't find the FUSE, FuseOSError and Operations methods within the package. Which one is it? When I type <code>import fuse</code> where does Python go to look for the fuse package? I'm used to class paths in java: is there a python equivalent? I'm very new to python. How do I begin to debug this.</p>