Closed Kisioj closed 2 years ago
Ok. Problem solved when running like this PYTHONPATH=$PYTHONPATH:$(pwd) python src/game.py
but another problem occurs:
Ok. Works after changing DATA_DIR
in config to DATA_DIR = join(dirname(dirname(realpath(__file__))), 'data')
Thanks! It works on my end when I make that change as well, so I'll push that change (commit is here: https://github.com/eforgacs-games/Dragon_Warrior/commit/f41d9d8672b7a9ab5335164127fdde2e31b58f45) . Let me know if you run into any more issues getting started/launching.
I do believe that
src.
should be removed from imports.PS. Python 3.10.1