Segmentation fault (core dumped)

When running python joint_monkey.py, the program throws an error at gym.sync_frame_time(sim). How can I solve this issue?