小编JDW*_*JDW的帖子

由于“linux/videodev.h:没有这样的文件或目录”错误,easy_install pygame无法正常工作

要安装pygame通过easy_install在Ubuntu 12.10和错误,它给了我这样的:

Continuing With "setup.py"
warning: no files found matching 'readme.txt'
no previously-included directories found matching '*/CVS'
no previously-included directories found matching '*/*/CVS'
src/mixer.c: In function ‘chan_set_volume’:
src/mixer.c:660:9: warning: variable ‘result’ set but not used [-Wunused-but-set-  variable]
In file included from /usr/include/python2.7/Python.h:8:0,
             from src/scrap.h:22,
             from src/scrap.c:30:
/usr/include/python2.7/pyconfig.h:1161:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
In file included from /usr/include/stdio.h:28:0,
             from src/scrap.c:24:
/usr/include/features.h:215:0: note: this is the location of the previous definition
In file included from src/scrap.c:59:0:
src/scrap_x11.c: …
Run Code Online (Sandbox Code Playgroud)

python 12.10

9
推荐指数
3
解决办法
2万
查看次数

标签 统计

12.10 ×1

python ×1