Google-Search-API icon indicating copy to clipboard operation
Google-Search-API copied to clipboard

python 2.7.6 cannot import urllib.requests, urllib.error and urllib.parse

Open shreyas-shinde opened this issue 7 years ago • 1 comments

python Python 2.7.6 (default, Nov 23 2017, 15:49:48) [GCC 4.8.4] on linux2 Type "help", "copyright", "credits" or "license" for more information.

import urllib.request Traceback (most recent call last): File "", line 1, in ImportError: No module named request

https://github.com/abenassi/Google-Search-API/blob/master/google/modules/utils.py#L11

Reference: https://stackoverflow.com/questions/36080548/can-not-solve-importerror-no-module-named-request

shreyas-shinde avatar Aug 21 '18 10:08 shreyas-shinde

Use python3

antifa-ev avatar Nov 30 '18 14:11 antifa-ev