Problem scenario
You are trying to use Python Eve. You are using Python’s interactive command prompt, and you run these two commands:
from eve import Eve
app = Eve()
But you get this error:
“File “/usr/local/lib/python2.7/dist-packages/eve/flaskapp.py”, line 138, in __init__
self.validate_domain_struct()
File “/usr/local/lib/python2.7/dist-packages/eve/flaskapp.py”, line 269, in validate_domain_struct
raise ConfigException(‘DOMAIN dictionary missing or wrong.’)
eve.exceptions.ConfigException: DOMAIN dictionary missing or wrong.”
What should you do?
…