Python Can';不要在服务器上安装枕头

Python Can';不要在服务器上安装枕头,python,django,pip,pillow,Python,Django,Pip,Pillow,将我的Django应用程序移植到3.3和Django 1.6b2,我目前正在服务器上安装所有在本地工作的依赖项。 看起来我不能安装枕头,也不能安装任何JSON。以下是我得到的错误: 对于Anyjson: error: in 'ext_modules' option (extension 'bson._cbson'), 'sources' must be present and must be a list of source filenames 枕头: error: in 'ext_modul

将我的Django应用程序移植到3.3和Django 1.6b2,我目前正在服务器上安装所有在本地工作的依赖项。
看起来我不能安装枕头,也不能安装任何JSON。以下是我得到的错误:
对于Anyjson:

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

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

有人能帮我吗?=)

通过删除并重新安装分发和设置工具解决。
不知道为什么但起作用了。

只是重新安装
分发
不起作用,但将其删除以
设置工具
使其起作用。

安装
免费类型2
库(包名取决于服务器),然后
PIL
,然后
抱枕
抱枕前吃药?什么?@lalo:)@alecxe-Pilow说:PIL和枕头目前不能在同一个环境中共存。若你们想用枕头,请先把PIL取下来。枕头是PIL的叉子,为什么我要把它们都装上?问题解决了,删除distribute和setuptools并重新安装解决了问题。OO请您解释一下您是如何卸载它的??