Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

[Informative] [solved] Having trouble with OpenGL in miniconda environment (Ubuntu 22) #99

@raminjafary

Description

@raminjafary

Hello

if you have GPU on your machine and you are having trouble to run the project on Ubuntu 22 or higher. Run the following commands:

  1. sudo apt-get install libosmesa6-dev freeglut3-dev
  2. sudo apt-get install libglfw3-dev libgles2-mesa-dev
  3. sudo apt-get install libosmesa6
  4. export PYOPENGL_PLATFORM=osmesa (important: inside conda environment)
  5. conda install -c conda-forge libstdcxx-ng
  6. Still not working? try conda install cmake.

No need to downgrade the Python version or any other dep versioning hack.

Hope it helps!

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions