to fix compatibility with python 3 ref https://github.com/humanoid-path-planner/hpp-environments/pull/6