obiwac / python-minecraft-clone

Source code for each episode of my Minecraft clone in Python YouTube tutorial series.
https://www.youtube.com/playlist?list=PL6_bLxRDFzoKjaa3qCGkwR5L_ouSreaVP
MIT License
166 stars 83 forks source link

AttributeError: module 'glm' has no attribute 'ivec3' #102

Closed happyleibniz closed 1 year ago

happyleibniz commented 1 year ago

first:

pip install glm

then

Traceback (most recent call last):
  File "C:\Users\Spinoza\python-minecraft-clone\community\main.py", line 17, in <module>
    import player
  File "C:\Users\Spinoza\python-minecraft-clone\community\player.py", line 5, in <module>
    import chunk
  File "C:\Users\Spinoza\python-minecraft-clone\community\chunk.py", line 6, in <module>
    import subchunk
  File "C:\Users\Spinoza\python-minecraft-clone\community\subchunk.py", line 1, in <module>
    from util import *
  File "C:\Users\Spinoza\python-minecraft-clone\community\util.py", line 3, in <module>
    DIRECTIONS = (glm.ivec3(1, 0, 0),
AttributeError: module 'glm' has no attribute 'ivec3'

(new.computer here)

happyleibniz commented 1 year ago

to install: 1. do pip install pyglm 2. pip uninstall glm Then pip install pyglm

obiwac commented 1 year ago

what's the issue here?

happyleibniz commented 1 year ago

nothing:) sorry:)))) just some noobs typed pip install glm instead of pip install pyglm


From: Aymeric Wibo @.> Sent: Wednesday, September 20, 2023 6:43 AM To: obiwac/python-minecraft-clone @.> Cc: happyleibniz @.>; Author @.> Subject: Re: [obiwac/python-minecraft-clone] AttributeError: module 'glm' has no attribute 'ivec3' (Issue #102)

what's the issue here?

— Reply to this email directly, view it on GitHubhttps://github.com/obiwac/python-minecraft-clone/issues/102#issuecomment-1726636068, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A5CFXZN4LNUBCAW3FDSPJZ3X3INYXANCNFSM6AAAAAA42XIGMI. You are receiving this because you authored the thread.Message ID: @.***>

happyleibniz commented 1 year ago

nothing:) sorry:)))) just some noobs typed pip install glm instead of pip install pyglm