Forums

Getting an error running a simple script.

Hey everyone, I created a simple script to add all of my liked songs on spotify to a playlist, works fine running locally but doesn't work when trying to run it on PythonAnywhere. The entire error message is on the gist as well along with the code but the main part of it is: OSError: [Errno 98] Address already in use

I did some googling and found that this error is related to flask? Don't really know what that is but I'm like 99% sure I am not using it at all. Any help would be greatly appreciated!

You cannot run the Flask development server in a console. Use a web app to run your Flask application: https://help.pythonanywhere.com/pages/Flask/