Replies: 2 comments
-
Thank you for open this discussion. According to the log, seems that it's the problem of pyglet. I guess you were not download the python from it's official website, but from the Microsoft Store. Please download python from here and try again! |
Beta Was this translation helpful? Give feedback.
-
I got another error: |
Beta Was this translation helpful? Give feedback.
-
Log:
[2024-05-12 11:00:27] [MainThread/DEBUG] [minecraft.utils.prepare] ** Start Minecraftpy **
[2024-05-12 11:00:27] [MainThread/DEBUG] [minecraft.utils.prepare] Operation system: Windows-10-10.0.19045-SP0
[2024-05-12 11:00:27] [MainThread/DEBUG] [minecraft.utils.prepare] Python version: 3.11.9
[2024-05-12 11:00:27] [MainThread/DEBUG] [minecraft.utils.prepare] OpenGL version: 4.6.0 - Build 30.0.101.1338
[2024-05-12 11:00:27] [MainThread/DEBUG] [minecraft.utils.prepare] Renderer: Intel(R) Iris(R) Graphics 540
[2024-05-12 11:00:27] [MainThread/DEBUG] [minecraft.utils.prepare] Minecraftpy version: 0.0.1 (data version: 1)
[2024-05-12 11:00:27] [MainThread/DEBUG] [minecraft.utils.prepare] Command line arguments:
[2024-05-12 11:00:27] [MainThread/WARNING] [minecraft.resource.loader] Translation file of language 'pl_pl' is not found
[2024-05-12 11:00:27] [MainThread/ERROR] [main] Game raise an error
Traceback (most recent call last):
File "C:\Users\milos\Downloads\minecraft-master\minecraft-master\minecraft_main_.py", line 33, in start
game = GameWindow(800, 600, resizable=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\milos\Downloads\minecraft-master\minecraft-master\minecraft\scenes_init_.py", line 57, in init
super().init(*args, **kwargs)
File "C:\Users\milos\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pyglet\window\win32_init_.py", line 104, in init
super(Win32Window, self).init(*args, **kwargs)
File "C:\Users\milos\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pyglet\window_init_.py", line 578, in init
self.create()
File "C:\Users\milos\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pyglet\window\win32_init.py", line 258, in _create
self.context.attach(self.canvas)
File "C:\Users\milos\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pyglet\gl\win32.py", line 255, in attach
super(Win32ARBContext, self).attach(canvas)
File "C:\Users\milos\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pyglet\gl\win32.py", line 202, in attach
raise gl.ContextException('Unable to share contexts.')
pyglet.gl.ContextException: Unable to share contexts.
[2024-05-12 11:00:27] [MainThread/INFO] [minecraft] This log file is stored in: C:\Users\milos\Downloads\minecraft-master\minecraft-master.minecraft\log\2024-05-12_11.00.26.log
Beta Was this translation helpful? Give feedback.
All reactions