Closed mfonner closed 8 years ago
This bug should be filed against pyglet.
Will do, thanks!
Hmm, actually, I don't know where the Failed to get python-future
comes from
Have you tried pip install python-future
?
I'm running that now and will let you know.
Installed Future and now there is an error with xrange:
Traceback (most recent call last):
File "C:\Users\mfonner12\Downloads\Minecraft-master\main.py", line 894, in <module>
main()
File "C:\Users\mfonner12\Downloads\Minecraft-master\main.py", line 886, in main
window = Window(width=800, height=600, caption='Pyglet', resizable=True)
File "C:\Users\mfonner12\Downloads\Minecraft-master\main.py", line 480, in __init__
self.model = Model()
File "C:\Users\mfonner12\Downloads\Minecraft-master\main.py", line 150, in __init__
self._initialize()
File "C:\Users\mfonner12\Downloads\Minecraft-master\main.py", line 159, in _initialize
for x in xrange(-n, n + 1, s):
NameError: name 'xrange' is not defined
I wrote these fixes awhile ago for Python 3, you can try them: https://github.com/fogleman/Minecraft/compare/master...ProgVal:python3
Perfect! Thank you.
Error cut and pasted: