tariqbuilds / linux-dash

A beautiful web dashboard for Linux
https://afaqurk.github.io/linux-dash/
MIT License
10.43k stars 1.21k forks source link

Python 3 support #495

Open GreatEmerald opened 4 years ago

GreatEmerald commented 4 years ago

Trying to run the Python server using Python 3 results in an error:

Traceback (most recent call last):
File "/opt/linux-dash/app/server/index.py", line 6, in <module>
    from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer, test as _test
ModuleNotFoundError: No module named 'BaseHTTPServer'

This seems to indicate that it has not yet been updated to work with Python 3.

elitepleb commented 3 years ago

A bit late, but https://github.com/afaqurk/linux-dash/pull/463 works just fine.

yalh76 commented 2 years ago

but #463 wasn't merged, still having the same error with python3 on Debian Bullseye