Small change in survey.py: os.path.dirname(__dir__) to __libdir__