Installing the Httplib2 module on windows7 64

In Python, I used easy_install and tried to install oauth2. Then I found that he needed httplib2.

Used: easy_install httplib2 on the command line. and found httplib2 0.7.6 egg in the package sites directory.

But when I do this, import httplib2 it returned with this: ImportError: There is no module named httplib2

The only way I can perform the β€œimport httplib2” operation is to run the installation file in the httplib2 package in the shell, and then β€œimport oauth2”.

I do not know what to do with this because I need oauth2 to connect to the Yelp API. Please help me with this, thanks sooooooooooooo !!!

+4
source share

Source: https://habr.com/ru/post/1443545/


All Articles