
pyenv로 virtualenv하고 PIL을 설치할 수없는 경우
2022-10-05 last update
5 minutes reading MacOSX 파이썬 pyenv-virtualenv pyenv아래 정보는 오래되었으므로 현재 상태에서는 실행할 수 없습니다.
자세한 것은 이쪽을 참조해 주십시오.
Pip | 오픈 데이터 및 프로그래밍
결국 PIL은 이미 pip에서는 넣을 수 없을 것 같습니다.
pip의 어딘가의 버젼으로부터
온순하게 pillow를 사용할 수 있다는 것이군요.
게다가 2단 장치였기 때문에 메모
그렇다면 이끼
구구루
여기에 썼다.
h tp : / / s t c ゔ rf ぉ w. 코 m / 쿠에 s Chion s / 21242107 / Pi p-in s ta l-pi l-don t-in s ta-l-to-r
그렇게했을 때 무엇이든 다른 느낌이되었습니다.
진전 된 것은 좋지만 아직 설치할 수 없습니다.
모르겠어요. 구구루
이에 해당하지만 다르다. Pillow 넣어라.
h tp : / / s t c ゔ ぇ rf ぉ w. 코 m / 쿠에 s Chion s / 23996756 / Pi l-in s Tatchi Chin-Ero r-on-ma-c-s-ma-cs-i-shi-r 엔 v
내가 넣고 싶은 것은 PIL입니다.
게다가
그것 같은데 맞는다.
h tp : / / s t c ゔ ぇ rf ぉ w. 코 m / 쿠에 s 치온 s / 20325473 / 에로 r-in s 흠 py 쵸 - 낫게 ぃ b 등 ry u shin go p x-10-9
심볼릭 링크 붙이고 있을 뿐이고, 링크처의 파일은 없었기 때문에, 했을 뿐이라면 되돌릴 수 있을 것 같아요.
네. 설치 성공.
2014/11/20 추가:
@shitsyndrome 씨로부터 코멘트 받고 원인이 발각했습니다.
pip의 1.5부터는 디폴트의 거동이 바뀌고 있어 외부 호스트(pypi.python.org 이외)로부터의 다운로드를 실시하고 싶은 경우는 명시적으로 지정할 필요가 있는 것 같습니다.
htp // // p. Red d. cs. 오 rg / 엔 / ㅁ st / 레후 렌세 / 삐 p_ 인 s 타르. html
자세한 것은 이쪽을 참조해 주십시오.
Pip | 오픈 데이터 및 프로그래밍
결국 PIL은 이미 pip에서는 넣을 수 없을 것 같습니다.
pip의 어딘가의 버젼으로부터
--allow-external
와 --allow-unverified
가 deprecated
가 된 것 같습니다.온순하게 pillow를 사용할 수 있다는 것이군요.
pyenv
로 환경 설정하고 있어, pyenv local hogehoge
하고 있어, pyenv activate
하고 있는 프로젝트로, pip install PIL
가 이끼 하는 것입니다.게다가 2단 장치였기 때문에 메모
결론
pip install PIL --allow-external PIL --allow-unverified PIL
에 넣기 ln -s /usr/local/include/freetype2 /usr/local/include/freetype
한다 상세
첫 번째 --allow-external
$ pip install PIL
그렇다면 이끼
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
구구루
여기에 썼다.
h tp : / / s t c ゔ rf ぉ w. 코 m / 쿠에 s Chion s / 21242107 / Pi p-in s ta l-pi l-don t-in s ta-l-to-r
pip install PIL --allow-external PIL --allow-unverified PIL
그렇게했을 때 무엇이든 다른 느낌이되었습니다.
두 번째 freetype
pip install PIL --allow-external PIL --allow-unverified PIL
진전 된 것은 좋지만 아직 설치할 수 없습니다.
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
모르겠어요. 구구루
이에 해당하지만 다르다. Pillow 넣어라.
h tp : / / s t c ゔ ぇ rf ぉ w. 코 m / 쿠에 s Chion s / 23996756 / Pi l-in s Tatchi Chin-Ero r-on-ma-c-s-ma-cs-i-shi-r 엔 v
내가 넣고 싶은 것은 PIL입니다.
게다가
그것 같은데 맞는다.
h tp : / / s t c ゔ ぇ rf ぉ w. 코 m / 쿠에 s 치온 s / 20325473 / 에로 r-in s 흠 py 쵸 - 낫게 ぃ b 등 ry u shin go p x-10-9
심볼릭 링크 붙이고 있을 뿐이고, 링크처의 파일은 없었기 때문에, 했을 뿐이라면 되돌릴 수 있을 것 같아요.
ln -s /usr/local/include/freetype2 /usr/local/include/freetype
네. 설치 성공.
pip install PIL --allow-external PIL --allow-unverified PIL
2014/11/20 추가:
@shitsyndrome 씨로부터 코멘트 받고 원인이 발각했습니다.
pip의 1.5부터는 디폴트의 거동이 바뀌고 있어 외부 호스트(pypi.python.org 이외)로부터의 다운로드를 실시하고 싶은 경우는 명시적으로 지정할 필요가 있는 것 같습니다.
htp // // p. Red d. cs. 오 rg / 엔 / ㅁ st / 레후 렌세 / 삐 p_ 인 s 타르. html