Skip to content Skip to sidebar Skip to footer

Installing Pyglet In Mac

I have followed this link in order to install pyglet in mac, because it is the only resource I have found that solves the 'wrong architecture' problem. However, when I execute the

Solution 1:

I don't understand the point of your pyobjc install ?

The issue with Pyglet on osX is 64-bit architecture, so just try this to force python to go 32bit by typing this in your console:

defaults write com.apple.versioner.python Prefer-32-Bit -bool yes

Solution 2:

I installed pyglet this way. after downloading pyglet, and after i opened Terminal on my mac (with my name displayed ending with $) I typed

cd /usr/local/bin

then I typed ls (list command) which showed me I had pip3 and pip3.6 as well as python3.6 (and other files) so then I typed in this

python3.6 -m pip install pyglet 

and pyglet installed and showed Collecting pyglet

  Downloading pyglet-1.2.4-py3-none-any.whl (964kB)
    100% |████████████████████████████████| 972kB 1.2MB/s 
Installing collected packages: pyglet
Successfully installed pyglet-1.2.4

Post a Comment for "Installing Pyglet In Mac"