Question

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 ? =)

Was it helpful?

Solution

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

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top