title: Cannot import package - "ImportError: No module named _mechanize"
body: <p>I am using the Anaconda 2.1.0 distribution of Python on Windows 8.</p>
  
  <pre>
  
      python --version
      Python 3.4.1 :: Anaconda 2.1.0 (64-bit)
  
  </pre>
  
  <p>I used pip to install the mechanize package. pip (v 6.0.8) installed mechanize 0.2.5 which is the most recent release.</p>
  
  <p>But, while trying to import the package, python throws an error:  </p>
  
  <pre>
  
      >>> import mechanize  
      Traceback (most recent call last):
        File "", line 1, in   
        File "C:\Anaconda3\lib\site-packages\mechanize\__init__.py", line 122, in   
      from _mechanize import \
      ImportError: No module named '_mechanize'
  
  </pre>
  
  <p>Similar questions here received replies to check if the installation was done on the <code>PYTHONPATH</code>.</p>
  
  <p>I also checked <code>sys.path</code> and there seems to be no problem there.</p>
  
  <pre>
  
      >>> import sys
      >>> sys.path
      ['',
       'C:\\Anaconda3\\Scripts',
       'C:\\Anaconda3\\lib\\site-packages\\cssselect-0.9.1-py3.4.egg',
       'C:\\Anaconda3',
       'C:\\Anaconda3\\python34.zip',
       'C:\\Anaconda3\\DLLs',
       'C:\\Anaconda3\\lib',
       'C:\\Anaconda3\\lib\\site-packages',
       'C:\\Anaconda3\\lib\\site-packages\\Sphinx-1.2.3-py3.4.egg',
       'C:\\Anaconda3\\lib\\site-packages\\win32',
       'C:\\Anaconda3\\lib\\site-packages\\win32\\lib',
       'C:\\Anaconda3\\lib\\site-packages\\Pythonwin',
       'C:\\Anaconda3\\lib\\site-packages\\runipy-0.1.1-py3.4.egg',
       'C:\\Anaconda3\\lib\\site-packages\\setuptools-12.2-py3.4.egg',
       'C:\\Anaconda3\\lib\\site-packages\\IPython\\extensions',
       'C:\\Users\\UserName\\.ipython']
  
  </pre>
  
  <p>I am able to import other packages residing in the same directory, for e.g. numpy.</p>
  
  <p>Am I missing something?</p>