Python run.py error

I get the below when I run “python run.py” on windows

Traceback (most recent call last):
File “run.py”, line 13, in
app.config[‘MFLIX_DB_URI’] = config[‘PROD’][‘MFLIX_DB_URI’]
File “C:\Users\Shashi\Anaconda3\lib\configparser.py”, line 958, in getitem
raise KeyError(key)
KeyError: ‘PROD’

Hi @Shashi_26104,

Make sure you rename dotini file:

ren dotini_win .ini # on Windows

Kanika

1 Like

I also facing the same issue and I also done ren dotini_win .ini # on Windows but still same error throw

Please make sure you are running the tests from directory mflix-python and not tests directory.

Kanika