EvilOSX icon indicating copy to clipboard operation
EvilOSX copied to clipboard

ImportError: No module named http.server

Open MaxTCodes opened this issue 6 years ago • 4 comments

When I try to do the command "python start.py" I get the error "Traceback (most recent call last): File "start.py", line 13, in from server.handler import start_server File "/Users/admin/EvilOSX/server/handler.py", line 13, in from http.server import HTTPServer, BaseHTTPRequestHandler ImportError: No module named http.server" How do I fix this?

MaxTCodes avatar Jan 12 '19 20:01 MaxTCodes

Same Problem. I did some research, and I found http.server is for python3. But the command, "pip3 install -r requirements.txt" and running it with Python3 didn't fix the problem. Any Fixes?

ShawnCena121 avatar Mar 11 '19 21:03 ShawnCena121

Did anyone ever figure this out?

HaK5aw avatar Aug 22 '20 06:08 HaK5aw

Nope, I just reinstalled it and it worked. I think it's a glitch where PIP skips it, I'm unsure though.

MaxTCodes avatar Aug 26 '20 21:08 MaxTCodes

I did pip3 install and python3 start.py. Make sure you're in the correct directory, otherwise you'll have to type/the/entire/path.

HaK5aw avatar Aug 26 '20 21:08 HaK5aw