Closed kellyfj closed 5 years ago
On OSX 10.9.2 I was getting the exact same missing PIL
xcode-select --install
sudo su
export CFLAGS=-Qunused-arguments
export CPPFLAGS=-Qunused-arguments
pip install PIL --allow-external PIL --allow-unverified PIL
And then I was able to successfully run the game
arch -i386 python main.py
Thanks.
THe xcode-select command failed but the other ones worked fine after I uninstalled PIL first
-Frank
On Mon, Jun 30, 2014 at 5:10 PM, Michael notifications@github.com wrote:
On OSX 10.9.2 I was getting the exact same missing PIL
xcode-select --install sudo su export CFLAGS=-Qunused-arguments export CPPFLAGS=-Qunused-arguments pip install PIL --allow-external PIL --allow-unverified PIL
And then I was able to successfully run the game
arch -i386 python main.py
— Reply to this email directly or view it on GitHub https://github.com/boskee/Minecraft/issues/81#issuecomment-47587549.
"pip install pillow" is a better solution to the PIL installation.
map code!
pillow has some issues on recent versions. A better solution is to provide a "safe" version, like: pip install pillow==2.6.1
just run
pip install pillow
Amusingly, we don't actually use PIL, it was a stray import all along.
I thought we used it in main.py
. I got a ImportError since I had forgotten to install pillow.
Running OS/X 10.8.5
Franks-MacBook-Pro:Minecraft frankkelly$ python --version Python 2.7.2
The fogleman original branch works fine on my Mac so not sure what I am missing
Also not sure what PIL is but I think I successfully installed it too (just in case)