Closed uludag closed 6 years ago
Thanks so much for the issue @uludag! I fixed it already. Let me know if you see others issue. I mostly develop in Python 3 these days and might overlook few issues with Python 2.
import urllib.request, json
ImportError: No module named request
I'm getting the following error plz.. help
You cannot have request in Python 2, you need to have Python 3 or above.
In my environment python-2.7 is not able to find the module urllib.request required by _pubmed_webparser.py.
If I replace the urllib import statement as suggested in this discussion then python2 is able to find the request module:
urlopen is used by the function _parse_outgoing_citationweb in the same file. For all http requests from this file requests library is used except the request made from the function _parse_outgoing_citationweb. It could be possible to use the requests library here as well? to avoid the import.
--mahmut