2014-07-13 3 views
1

장고 - 아바타에 필요하기 때문에 나는 헤로 쿠에 PIL을 설치하려고합니다. Heroku의 PIL 설치 오류

그래서 내 requirements.txt에 넣어하지만 설치할 때 그것은 나에게 다음과 같은 오류 제공 :

/usr/bin/ld: /usr/local/lib/libpython2.7.a(abstract.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC

/usr/local/lib/libpython2.7.a: could not read symbols: Bad value 

    collect2: ld returned 1 exit status 

    error: command 'gcc' failed with exit status 1 

나는이 문제를 해결하는 방법을 단서가 없다합니다.

나는 몇 가지 조사를 한 적이 있으며이 경우에 대한 진단, 동일한 오류 등 reportlab에서당한 다른 패키지 다음과 같습니다에 출시 된

The problem seems to be caused by the presence of a static Python 2.7 library in /usr/local/lib/libpython2.7.a

및 reportlab의 다음 최신 버전 충돌을 우회하십시오. 그게 PIL의 경우는 아니야. 누군가 내가 무엇을 해야할지를 지적 할 수 있겠 니?

주셔서 감사합니다 requirements.txt에서

+0

uroku bash ..에 PIL을 설치하려고 했습니까? –

+0

PIL은 현재 거의 포기 상태입니다. 대신 [베개] (http://pillow.readthedocs.org/en/latest/)를 시도하십시오. –

+0

Pillow 2.2.1에서도 마찬가지입니다. 질문에 답하십시오. – ferrix

답변

0

사용이 PIL 포크 :이 문제를 해결

wsgiref==0.1.2 
-e hg+https://bitbucket.org/etienned/pil-2009-raclette/#egg=PIL 
pyyaml 

.