Closed kryan8 closed 3 years ago
After looking at pip3 documentation, I was able to download the pyglet module. First I updated "setuptools" and "wheel" projects in pip3 (which ensures you can download from source archives). I updated via:
python3 -m pip install --upgrade pip setuptools wheel
I then downloaded the pyglet module via:
python3 -m pip install pyglet
I then was able to successfully run main.py
Terminal call:
Minecraft % defaults write com.apple.versioner.python Prefer-32-Bit -bool yes
Minecraft % python main.py Traceback (most recent call last): File "main.py", line 9, in
from pyglet import image
ImportError: No module named pyglet
I am having trouble calling the pyglet module on MacOS. I tried importing pyglet as suggested, setting to 32 bit, and setting default preference to 32 bit. I am running OSX Big Sur 11.4 (the most recent update) and the most recent version of Python3. I also tried running main.py in Python2, but this also gave a traceback.