Search code examples
pythonherokuflaskhttplib2

ImportError: No module named httplib2 on Heroku


Here is my import libraries in my python code which i hosted on heroku

import os
from flask import Flask, render_template
import sys, httplib2, json;

Its shows error ImportError: No module named httplib2?? Can any tell me why is it happening and if any way to correct it??


Solution

  • Do you have the httplib2 module installed?

    Try pip install httplib2