Python cannot find mechanize module


#1

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?


#2

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


#3

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