Domanda

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

È stato utile?

Soluzione

Do you have the httplib2 module installed?

Try pip install httplib2

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top