How to run the code exist in samples folder

Hi, my friend! I have solved this problem by re-installing other version “pyopengl”, “pyopengl-accelerate” packages.
If I have other problems, can I ask you for recommendation?
Anyway, thanks for your replying, have a nice day!