View Single Post
Posts: 52 | Thanked: 188 times | Joined on Oct 2011 @ Brazil
Originally Posted by maegon9y00 View Post
But it doesn't have the SimpleHTTPServer module

$ python -m SimpleHTTPServer
/data/data/com.termux/files/usr/bin/python: No module named SimpleHTTPServer
Any idea how to get/add this module?
SimpleHTTPServer is a Python 2 module.

$ apt install python2
$ python2 -m SimpleHTTPServer

The Following 3 Users Say Thank You to brunelli For This Useful Post: