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

Code:
$ 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.

Code:
$ apt install python2
$ python2 -m SimpleHTTPServer
 

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