I do not know how relevant this is, but I’ll publish it for others anyway.
I had the same problem and my problem was that the mechanize module was not installed.
Fix
pip install mechanize
However, after that I came across another issue .
Explanation
What is a line of code that fails in browser.py from splinter , but because of except: pass , it is silently ignored. If done manually, you can see the root of the problem:
>>> from splinter.driver.zopetestbrowser import ZopeTestBrowser Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/rustam/.virtualenvs/python2/lib/python2.7/site-packages/splinter/driver/zopetestbrowser.py", line 19, in <module> import mechanize ImportError: No module named mechanize
source share