Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Not issue) Fix "audiomass-server.py" for Python 3 #79

Open
DeadLyBro opened this issue Oct 10, 2023 · 0 comments
Open

(Not issue) Fix "audiomass-server.py" for Python 3 #79

DeadLyBro opened this issue Oct 10, 2023 · 0 comments

Comments

@DeadLyBro
Copy link

You can fix with this code:

import http.server
import socketserver
PORT = 5055
Handler = http.server.SimpleHTTPRequestHandler
httpd = socketserver.TCPServer(("", PORT), Handler)
print("serving at port", PORT)
httpd.serve_forever()

If not work you can use this:

py -3 -m http.server 5055

(Note: Make sure you are in the src folder.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant