Thursday 26 October 2017

python - how to install BaseHTTPServer in raspberry pi using linux

i want to install BaseHTTPServer in raspberry pi using
linux.i tried pip install BaseHTTPServer and pip install BaseHTTPRequestHandler but it
showing error:


could not find a version that
satisfies the requirement BaseHTTPServer from versions:
no matching
distribution found for
BaseHTTPServer

this is the code i
used in python:


from BaseHTTPServer import
BaseHTTPRequestHandler,
HTTPServer

Getting
error:


alt="getting error">

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...