Comments (3)
Traceback (most recent call last):
File "main.py", line 18, in
from pyglet.gl import *
File "C:\Python27\lib\site-packages\pyglet\gl_init_.py", line 239, in
import pyglet.window
File "C:\Python27\lib\site-packages\pyglet\window_init_.py", line 1896, in
gl.create_shadow_window()
File "C:\Python27\lib\site-packages\pyglet\gl_init.py", line 208, in create_shadow_window
shadow_window = Window(width=1, height=1, visible=False)
File "C:\Python27\lib\site-packages\pyglet\window\win32_init.py", line 134, in init
super(Win32Window, self).init(*args, **kwargs)
File "C:\Python27\lib\site-packages\pyglet\window_init.py", line 501, in init
display = get_platform().get_default_display()
File "C:\Python27\lib\site-packages\pyglet\window_init_.py", line 1845, in get_default_display
return pyglet.canvas.get_display()
File "C:\Python27\lib\site-packages\pyglet\canvas_init_.py", line 77, in get_display
from pyglet.app import displays
File "C:\Python27\lib\site-packages\pyglet\app_init_.py", line 154, in
from pyglet.app.base import EventLoop
File "C:\Python27\lib\site-packages\pyglet\app\base.py", line 4, in
standard_library.install_aliases()
File "C:\Python27\lib\site-packages\future\standard_library_init_.py", line 459, in install_aliases
import(oldmodname)
File "C:\Users\toshi\Minecraft-master\Minecraft-master\commands.py", line 12, in
from blocks import BlockID
File "C:\Users\toshi\Minecraft-master\Minecraft-master\blocks.py", line 17, in
from utils import load_image, make_nbt_from_dict, extract_nbt
File "C:\Users\toshi\Minecraft-master\Minecraft-master\utils.py", line 12, in
import globals as G
File "C:\Users\toshi\Minecraft-master\Minecraft-master\globals.py", line 20, in
from pyglet.resource import get_settings_path
File "C:\Python27\lib\site-packages\pyglet\resource.py", line 88, in
standard_library.install_aliases()
File "C:\Python27\lib\site-packages\future\standard_library_init_.py", line 462, in install_aliases
obj = getattr(oldmod, oldobjname)
AttributeError: 'module' object has no attribute 'getoutput'
from minecraft.
Hmm, amusing how errors can grow in stale projects purely from the passage of time...
As python2.7 enters its final hours, it seems the futures
library has started backporting many of Python3's features back to Python2.7 to ease the transition, including renaming several methods from the deprecated 2.7 https://docs.python.org/2/library/commands.html module to follow their Python3 naming conventions. Pyglet uses part of futures
, and we use Pyglet. We had a module named commands.py
which conflicted with the official one - a simple rename has allowed this ancient project to boot again, though I wouldn't be surprised if it needed more updating.
I'm slightly tempted to rewrite it in Python3, assuming all the dependencies have Python3 equivalents...
from minecraft.
True. You should rewrite it, to keep the project running.
from minecraft.
Related Issues (20)
- AttributeError: 'NoneType' object has no attribute 'height' HOT 1
- I broke a flower and then tried to place it back HOT 1
- Disconnected from server even before the first packet was sent HOT 3
- ValueError: Can only assign sequence of same size
- Sky upside down???
- MemoryError HOT 2
- 'ImageData' object has no attribute 'texture' HOT 3
- problem running setup.py HOT 2
- cant download zip HOT 2
- 'ImageData' object has no attribute 'texture' HOT 11
- self.packetreceiver.send_movement(momentum, self.player._position) AttributeError: 'GameController' object has no attribute 'packetreceiver' HOT 1
- Everywhere
- Python3 support??
- World generation speedup??
- Issue with removing blocks
- Generate water pools
- Better documentation
- Split stacks of blocks
- Synchronise celestial bodies HOT 3
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.