Python cannot find mechanize module


I created a virtualenv, did pip install mechanize, but when I do import mechanize, I get an error saying it cannot be found. I’m running python 2.7
What can I do to use the mechanize module?


It would be easier for us to help you if you can share your Python code.


Thank you, the solution was the same as the other module.
For anyone reading,
sudo pip3 install mechanize