https://stackoverflow.com/questions/2792650/import-error-no-module-name-urllib2 Alternatives: Use the six-library or requests