Giter VIP home page Giter VIP logo

Comments (6)

mmatl avatar mmatl commented on June 9, 2024 22

Try sudo apt install freeglut3-dev.

from pyrender.

mvasil avatar mvasil commented on June 9, 2024 7

Fix for me: sudo apt-get install libosmesa6-dev

from pyrender.

dipaco avatar dipaco commented on June 9, 2024 6

I am experiencing the same issue as @dcetin described above.

from pyrender.

JonathanLehner avatar JonathanLehner commented on June 9, 2024

will try loading mesa-glu/9.0.0

from pyrender.

dcetin avatar dcetin commented on June 9, 2024

Hey @JonathanLehner,

How did you resolve this issue on Leonhard? I work on another project, yet I couldn't find how to run the code that uses OpenGL on server. I loaded ftgl/2.1.3 module (which also includes mesa/12.0.3 and mesa-glu/9.0.0), but it didn't help.

Trying to run the script normally gives this error

ValueError: Failed to initialize Pyglet window with an OpenGL >= 3+ context. If you're logged in via SSH, ensure that you're running your script with vglrun (i.e. VirtualGL). The internal error message was "Cannot connect to "None""

and prepending PYOPENGL_PLATFORM=osmesa to the python command gives

ImportError: ('Unable to load OpenGL library', 'OSMesa: cannot open shared object file: No such file or directory', 'OSMesa', None)

I would be really happy to hear your comment. Cheers.

from pyrender.

thezealousfool avatar thezealousfool commented on June 9, 2024

On Arch linux I installed python-opengl and freeglut but was still getting this error. Installing the package glu fixed the problem for me -

sudo pacman -S freeglut python-opengl glu

from pyrender.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.