Change package path to your own sys.path.append('your path') You need to change the path in sys.path.append() for each file change package file to save models and data For example, 'C:\Users\61602\Desktop\Coding\python\mobile_robot_simulator\algorithms\dqn_mpa\plots\' need to be modified to your local path.