Question

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??

Was it helpful?

Solution

Do you have the httplib2 module installed?

Try pip install httplib2

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top