Domanda

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

È stato utile?

Soluzione

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

Altri suggerimenti

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top