Thursday, 15 March 2012

ImportError: No module named mechanize

1. Download mechanize from

2. Extract it into a folder

3. copy the whole mechanize directory into a directory on your Python path
  unix:  /usr/local/lib/python2.4/site-packages
  Windows: C:\Python24\Lib\site-packages
 Only copy the mechanize directory that's inside the distributed tar / zip archive, not the
 entire mechanize-x.x.x directory!

No comments:

Post a Comment