문제

Porting my Django application to 3.3 and Django 1.6b2, I'm currently installing on the server all the depedencies that works locally.
It seems like I can't install Pillow and neither can I install anyjson. Here are the errors I get :
For Anyjson :

error: in 'ext_modules' option (extension 'bson._cbson'), 'sources' must be present and must be a list of source filenames

For Pillow :

error: in 'ext_modules' option (extension 'PIL._imaging'), 'sources' must be present and must be a list of source filenames

Could someone help me please ? =)

도움이 되었습니까?

해결책

Solved by removing and reinstalling distribute and setuptools. Don't know why but worked.

다른 팁

Just reinstalling distribute didn't work but removing it for setuptools made it work.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top