boskee / Minecraft

Simple Minecraft-inspired program using Python and Pyglet
MIT License
207 stars 33 forks source link

problem running setup.py #110

Closed nickums closed 4 years ago

nickums commented 4 years ago

Running setup.py to try to get into this wonderful project, I get:

Warning (from warnings module): File "C:\Python\Python36\lib\site-packages\distutils\dist.py", line 261 warnings.warn(msg) UserWarning: Unknown distribution option: 'executables'

r58Playz commented 4 years ago

You should use 'python3 main.py' to run the project, you should use 'python3 server.py' to run the server, and you should use 'python3 setup.py build_exe' to build the executable. Also, cython and cx_Freeze must be installed to build the executable.

On Wed, Apr 15, 2020 at 3:02 AM nickums notifications@github.com wrote:

Running setup.py to try to get into this wonderful project, I get:

Warning (from warnings module): File "C:\Python\Python36\lib\site-packages\distutils\dist.py", line 261 warnings.warn(msg) UserWarning: Unknown distribution option: 'executables'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/boskee/Minecraft/issues/110, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKZAPOG3RHFQHHLWHK74PKTRMWA3LANCNFSM4MIOAZ4A .

nickums commented 4 years ago

Many thanks for clarifying the install requirements. So far so good. On executing main.py I get ; Traceback (most recent call last): File "C:\Python\Python36\GitHub\Minecraft-master\Minecraft-master\main.py", line 22, in from controllers import MainMenuController File "C:\Python\Python36\GitHub\Minecraft-master\Minecraft-master\controllers.py", line 21, in from blocks import File "C:\Python\Python36\GitHub\Minecraft-master\Minecraft-master\blocks.py", line 1785, in cactus_block = CactusBlock() File "C:\Python\Python36\GitHub\Minecraft-master\Minecraft-master\blocks.py", line 276, in init self.update_texture() File "C:\Python\Python36\GitHub\Minecraft-master\Minecraft-master\blocks.py", line 353, in update_texture self.group = TextureGroupIndividual(self.texture_name, self.height, self.width) File "C:\Python\Python36\GitHub\Minecraft-master\Minecraft-master\blocks.py", line 100, in init for j in (0, 6): self.texture_data[i 8 + j] += w_margin IndexError: list index out of range

So something wrong with one specific texture. I'll try and figure it out. Let's close this and thanks again for your prompt and helpful response.