ch-sa/labelCloud

Unable to import OpenGL.platform.glx.GLXPlatform: No module named '_ctypes'

ankhbayar479 opened this issue · 3 comments

labelCloudissue

  • OS: Ubuntu 18.04
  • Python Version: 3.9.15
  • Installation: pip

I have downloaded required libraries, but this warning keeps coming up. How can I solve this one? Thank you.

ch-sa commented

Hello @ankhbayar479,

it seems like this is a pure OpenGL / pyopengl (setup) issue and probably not really specific to labelCloud.

Can you try only importing in interactive Python:

import OpenGL.GL as GL

Maybe this issue here helps:
mcfletch/pyopengl#43

ch-sa commented

Closing due to inactivity. Feel free to reopen if the problem persists.

This issue helped me to solve the problem with OpenGL:
import OpenGL.GL as GL

otherwise I was getting an error for this line