Comments (8)
First, try; sudo apt-get install freeglut3-dev
If that doesnโt work, try manually searching for the library; sudo apt-cache search glut
from minecraft.
sudo apt-get install freeglut3-dev
solves the problem in ubuntu 20.04 wsl2 win 10
I actually had the problem installing open AI gym, but found a solution here XD
from minecraft.
Try pip install pyopengl
from minecraft.
i had tried pip install pyopengl
but get the same problem.
Traceback (most recent call last):
File "main.py", line 7, in <module>
from pyglet.gl import *
File "/usr/local/lib/python2.7/dist-packages/pyglet/gl/__init__.py", line 510, in <module>
import pyglet.window
File "/usr/local/lib/python2.7/dist-packages/pyglet/window/__init__.py", line 1684, in <module>
gl._create_shadow_window()
File "/usr/local/lib/python2.7/dist-packages/pyglet/gl/__init__.py", line 494, in _create_shadow_window
_shadow_window = Window(width=1, height=1, visible=False)
File "/usr/local/lib/python2.7/dist-packages/pyglet/window/xlib/__init__.py", line 474, in __init__
super(XlibWindow, self).__init__(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pyglet/window/__init__.py", line 636, in __init__
config = screen.get_best_config(template_config)
File "/usr/local/lib/python2.7/dist-packages/pyglet/window/__init__.py", line 288, in get_best_config
configs = self.get_matching_configs(template)
File "/usr/local/lib/python2.7/dist-packages/pyglet/window/xlib/__init__.py", line 238, in get_matching_configs
have_13 = self.display.info.have_version(1, 3)
File "/usr/local/lib/python2.7/dist-packages/pyglet/gl/glx_info.py", line 81, in have_version
server_version = self.get_server_version().split()[0]
File "/usr/local/lib/python2.7/dist-packages/pyglet/gl/glx_info.py", line 101, in get_server_version
raise GLXInfoException('Could not determine GLX server version')
pyglet.gl.glx_info.GLXInfoException: Could not determine GLX server version
from minecraft.
any solution found ?
from minecraft.
Did you install all actual libraries?
http://openbsd.7691.n7.nabble.com/Library-quot-GLU-quot-not-found-td107080.html
from minecraft.
@Aareon After apt-cache search glut ,what to do next?
from minecraft.
@johnbhlm Sorry for the very late reply, better late than never ig.
What was the output of apt-cache search glut
?
If anyone else is struggling with this issue, please try installing mesa
and/or mesa-utils
for whichever distribution of Linux you're using. It's a google search away. When I originally answered in this thread, I was referencing this StackOverflow answer.
from minecraft.
Related Issues (20)
- Formula used to get #Top?
- I want looked my skins HOT 2
- Cannot operate the game character correctly
- Sometimes the game becomes unresponsive HOT 1
- Very elegant project!
- Petition HOT 1
- FOLLOW pyglet 2.0 UPGRADE HOT 1
- How can pyglet cancel the function of pressing the esc key to exit HOT 2
- Salut HOT 2
- NameError: name 'GL_FOG' is not defined HOT 9
- pyglet.gl.lib.GLException: (0x500): Invalid enum. An unacceptable value is specified for an enumerated argument. HOT 1
- Sign in HOT 1
- Hj HOT 7
- error HOT 2
- does not work HOT 1
- Hy HOT 2
- How do I play it? HOT 1
- I ran into a problem while replacing the block file
- FileNotFoundError: [Errno 2] No such file or directory: 'texture.png'
- NameError: name 'GL_FOG' is not defined
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minecraft.