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  
[bash] Traceback (most recent call last): File "upnp_info.py", line 7, in <module> import requests ImportError: No module named requests [/bash]

Solution :

On Ubuntu this error can be resolve by installing as,

$ sudo apt-get install python-requests 

Leave a Comment