module not found error

Author: thekingpin1Created Feb 8, 2021Updated Jan 26, 2022

Traceback (most recent call last): File "index.py", line 6, in from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer, test as _test ModuleNotFoundError: No module named 'BaseHTTPServer'

error occurs when run in ubuntu terminal.