Last active
October 3, 2016 03:38
-
-
Save noblejasper/f44e633f5753f026b465 to your computer and use it in GitHub Desktop.
pyenvでvirtualenvしててPILがインストール出来ない件 ref: http://qiita.com/noblejasper/items/ee29e06ccb82ce97af5a
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ pip install PIL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Downloading/unpacking PIL | |
Could not find any downloads that satisfy the requirement PIL | |
Some insecure and unverifiable files were ignored (use --allow-unverified PIL to allow). | |
Cleaning up... | |
No distributions at all found for PIL | |
Storing debug log for failure in /Users/jasper/.pip/pip.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install PIL --allow-external PIL --allow-unverified PIL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install PIL --allow-external PIL --allow-unverified PIL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
building '_imagingft' extension | |
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/System/Library/Frameworks/Tcl.framework/Headers -I/System/Library/Frameworks/Tk.framework/Headers -I/usr/local/include/freetype2 -IlibImaging -I/usr/local/opt/pyenv/versions/inblue/include -I/usr/local/include -I/usr/include -I/usr/local/opt/pyenv/versions/2.6.8/include/python2.6 -c _imagingft.c -o build/temp.macosx-10.4-x86_64-2.6/_imagingft.o | |
_imagingft.c:73:10: fatal error: 'freetype/fterrors.h' file not found | |
#include <freetype/fterrors.h> | |
^ | |
1 error generated. | |
error: command 'gcc' failed with exit status 1 | |
---------------------------------------- | |
Cleaning up... | |
Command /usr/local/opt/pyenv/versions/inblue/bin/python -c "import setuptools, tokenize;__file__='/usr/local/var/lib/pyenv/versions/inblue/build/PIL/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace(' | |
', ' | |
'), __file__, 'exec'))" install --record /var/folders/10/1gcb6yqd4m14g9qr7s0lztg40000gn/T/pip-0bcmkN-record/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/opt/pyenv/versions/inblue/include/site/python2.6 failed with error code 1 in /usr/local/var/lib/pyenv/versions/inblue/build/PIL | |
Storing debug log for failure in /Users/jasper/.pip/pip.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ln -s /usr/local/include/freetype2 /usr/local/include/freetype |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment