[Answered ]-Failed to exec Python script file '/home/dev/project/project/wsgi.py'.Exception occurred processing WSGI script '/home/dev/project/project/wsgi.py'

1👍

The error indicates that the JSON file you are trying to load here:

with open("/etc/config.json") as config_file:
    config = json.load(config_file)

is not correct JSON because of wrong quoting in line 4 of the JSON file (you probably use single instead of double quotes):

JSONDecodeError: Expecting property name enclosed in double quotes:
line 4 column 1 (char 71)

Leave a comment