Solved: ImportError: No module named requests

When we tried to run a python script to check upnp information from https://github.com/lynxbee/upnp_info/blob/master/upnp_info.py on Ubuntu, we got following error,

$ python upnp_info.py
Traceback (most recent call last):
  File "upnp_info.py", line 7, in <module>
    import requests
ImportError: No module named requests

Solution :

On Ubuntu this error can be resolve by installing as,

$ sudo apt-get install python-requests

1 thought on “Solved: ImportError: No module named requests”

Leave a Comment