OpenWrt Forum Archive

Topic: import requests,urllib2 for python in openwrt

The content of this topic has been archived on 2 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

there are no such libraries in menuconfig. Is there a way to import these libraries to openwrt?

Python requests is not packaged in OpenWRT; it was in the past, in the old packages.
urllib2 should be in there if you install python ; it's not packaged separately;
I think the python-light package should be enough for urllib2

The discussion might have continued from here.