Hi, guys. I have encountered this problem and can not find any method to solve it.
Can anyone give me some suggestions or direction for me? I am struggling with it.
Basically, your .env
configuration file is not configured correctly. Double-triple-check the README file please; it has all the instructions you need.
I also got the following error while trying to execute run.py
C:\mflix-python>python run.py
Traceback (most recent call last):
File “run.py”, line 13, in
app.config[‘MFLIX_DB_URI’] = config[‘PROD’][‘MFLIX_DB_URI’]
File “C:\Python372\lib\configparser.py”, line 958, in getitem
raise KeyError(key)
KeyError: ‘PROD’