无法使用pip安装python包:ujson,blist,psutil等等

时间:2015-04-20 11:07:17

标签: python pip

我正在尝试使用pip安装一些python库,如ujson,blist,psutil等等,但每次都会出现相同的错误。

 In file included from blist/_blist.c:38:
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h:33:10: 
fatal error: 'stdio.h' file not found
#include <stdio.h>
         ^
1 error generated.
error: command 'cc' failed with exit status 1

每次都会重复同样的错误。我已经将pip更新到最新版本。还有其他方法可以下载这些库吗?谢谢你的帮助。

0 个答案:

没有答案