Comments (9)
I got the same error, I resolved by installing PyOpenGL
pip install PyOpenGL
And later imported these two statements
from OpenGL.GL import * from OpenGL.GLU import *
Import and NameError are resolved but now I'm getting another error
raise GLException('(0x%x): %s' % (error, msg)) pyglet.gl.lib.GLException: (0x500): Invalid enum. An unacceptable value is specified for an enumerated argument.
I've downgraded to pyglet==1.5.27
, and it's working! No need to install PyOpenGL
from minecraft.
I got the same error,
I resolved by installing PyOpenGL
pip install PyOpenGL
And later imported these two statements
from OpenGL.GL import *
from OpenGL.GLU import *
Import and NameError are resolved but now I'm getting another error
raise GLException('(0x%x): %s' % (error, msg))
pyglet.gl.lib.GLException: (0x500): Invalid enum. An unacceptable value is specified for an enumerated argument.
from minecraft.
I got the same error, I resolved by installing PyOpenGL
pip install PyOpenGL
And later imported these two statements
from OpenGL.GL import * from OpenGL.GLU import *
Import and NameError are resolved but now I'm getting another error
raise GLException('(0x%x): %s' % (error, msg)) pyglet.gl.lib.GLException: (0x500): Invalid enum. An unacceptable value is specified for an enumerated argument.
I've downgraded to
pyglet==1.5.27
, and it's working! No need to install PyOpenGL
Thank you for posting your solution! Your steps worked for me.
For others downgrading pyglet, you can do so by running pip install pyglet==1.5.27
from minecraft.
i guess git pull the pyglet version in the how to run in the README.md add ' pip install pyglet==1.5.27 '
from minecraft.
me too
from minecraft.
me too
from minecraft.
me too...
from minecraft.
Me too.
I move it to my new laptop,but it got this error…
What can I do?
[Running] python -u "e:\Minecraft-master\main.py"
Traceback (most recent call last):
File "e:\Minecraft-master\main.py", line 902, in <module>
main()
File "e:\Minecraft-master\main.py", line 897, in main
setup()
File "e:\Minecraft-master\main.py", line 890, in setup
setup_fog()
File "e:\Minecraft-master\main.py", line 861, in setup_fog
glEnable(GL_FOG)
^^^^^^
NameError: name 'GL_FOG' is not defined
[Done] exited with code=1 in 0.776 seconds
from minecraft.
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
- 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.