Get help with and scraping

Getting import error


One of my scrapers is failing for the last 6 months with following error:

Traceback (most recent call last):
File “”, line 11, in
from splinter import Browser
File “/app/.heroku/python/lib/python2.7/site-packages/splinter/”, line 5, in
from splinter.browser import Browser # NOQA
File “/app/.heroku/python/lib/python2.7/site-packages/splinter/”, line 9, in
from splinter.driver.webdriver.firefox import WebDriver as FirefoxWebDriver
File “/app/.heroku/python/lib/python2.7/site-packages/splinter/driver/webdriver/”, line 16, in
from six import BytesIO
ImportError: No module named six

Is there something that can be done to fix?




Yes, this should be fixable, as per the instructions at - add six into your requirements.txt

I’ve created a PR at as an example of how to do this (and I’ve tided up some other versions along the way). Sadly this has just got me to the point where I’ve run into another problem - it can’t find firefox, and Morph doesn’t (currently) have a way for you to install that.

Update: What we do, theoretically, have, is chrome. However, right now Chrome is uninstallable because Google forgot to update their signing key, and that’s breaking every attempt I’ve made to get this working.



Update: I did eventually get Chrome working on the early_release platform, and my version of the scraper seems to be working now:

Does this help you?