Dining-Philosophers Program uses curses module from standard python library but if you are using Windows please run pip install windows-curses this adds support for the standard Python curses module on Windows.