w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
ImportError: No module named mechanize

Have you checked sys.path in the python shell?

>>> import sys
>>> sys.path
# Returns a list of directories & .egg files

For python to find mechanize, it needs to be in one of the places listed on sys.path. If you know where mechanize was installed, then you can check directly whether it's on sys.path (I'm not sure how to find out where it was installed automagically).





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.