python autopy_安装python autopy时出错
嘿,我已经看过了一个老问题,但它不能回答我的问题
我已经安装了libpng,然后尝试安装autopy并得到complie错误。在
我对python还不是很在行,所以我不确定如何修复它们。在Ashley:~ ashleyhughes$ sudo easy_install autopy
Searching for autopy
Reading http://pypi.python.org/simple/autopy/
Reading http://www.autopy.org
Best match: autopy 0.51
Downloading http://pypi.python.org/packages/source/a/autopy/autopy-0.51.tar.gz#md5=b92055aa2a3712a9c3b4c874014b450e
Processing autopy-0.51.tar.gz
Running autopy-0.51/setup.py -q bdist_egg --dist-dir /tmp/easy_install-U9uWoj/autopy-0.51/egg-dist-tmp-hdjtIx
clang: warning: argument unused during compilation: '-mno-fused-madd'
clang: warning: argument unused during compilation: '-mno-fused-madd'
clang: warning: argument unused during compilation: '-mno-fused-madd'
clang: warning: argument unused during compilation: '-mno-fused-madd'
clang: warning: argument unused during compilation: '-mno-fused-madd'
src/screengrab.c:48:26: warning: implicit declaration of function
'CGDisplayBitsPerPixel' is invalid in C99
[-Wimplicit-function-declaration]
bitsPerPixel = (uint8_t)CGDisplayBitsPerPixel(displayID);
^
src/screengrab.c:191:2: warning: 'CGLSetFullScreen' is deprecated
[-Wdeprecated-declarations]
CGLSetFullScreen(glContext);
^
src/screengrab.c:194:2: warning: implicit declaration of function 'glReadBuffer'
is invalid in C99 [-Wimplicit-function-declaration]
glReadBuffer(GL_FRONT);
^
src/screengrab.c:194:15: error: use of undeclared identifier 'GL_FRONT'
glReadBuffer(GL_FRONT);
^
src/screengrab.c:197:2: warning: implicit declaration of function 'glFinish' is
invalid in C99 [-Wimplicit-function-declaration]
glFinish();
^
src/screengrab.c:199:6: warning: implicit declaration of function 'glGetError'
is invalid in C99 [-Wimplicit-function-declaration]
if (glGetError() != GL_NO_ERROR) return NULL;
^
src/screengrab.c:199:22: error: use of undeclared identifier 'GL_NO_ERROR'
if (glGetError() != GL_NO_ERROR) return NULL;
^
src/screengrab.c:207:2: warning: implicit declaration of function
'glPopClientAttrib' is invalid in C99 [-Wimplicit-function-declaration]
glPopClientAttrib(); /* Clear attributes previously set. */
^
src/screengrab.c:223:2: warning: implicit declaration of function
'glPushClientAttrib' is invalid in C99 [-Wimplicit-function-declaration]
glPushClientAttrib(GL_CLIENT_PIXEL_STORE_BIT);
^
src/screengrab.c:223:21: error: use of undeclared identifier
'GL_CLIENT_PIXEL_STORE_BIT'
glPushClientAttrib(GL_CLIENT_PIXEL_STORE_BIT);
^
src/screengrab.c:225:2: warning: implicit declaration of function
'glPixelStorei' is invalid in C99 [-Wimplicit-function-declaration]
glPixelStorei(GL_PACK_ALIGNMENT, BYTE_ALIGN); /* Force alignment. */
^
src/screengrab.c:225:16: error: use of undeclared identifier 'GL_PACK_ALIGNMENT'
glPixelStorei(GL_PACK_ALIGNMENT, BYTE_ALIGN); /* Force alignment. */
^
src/screengrab.c:226:16: error: use of undeclared identifier
'GL_PACK_ROW_LENGTH'
glPixelStorei(GL_PACK_ROW_LENGTH, 0);
^
src/screengrab.c:227:16: error: use of undeclared identifier 'GL_PACK_SKIP_ROWS'
glPixelStorei(GL_PACK_SKIP_ROWS, 0);
^
src/screengrab.c:228:16: error: use of undeclared identifier
'GL_PACK_SKIP_PIXELS'
glPixelStorei(GL_PACK_SKIP_PIXELS, 0);
^
src/screengrab.c:235:2: warning: implicit declaration of function 'glReadPixels'
is invalid in C99 [-Wimplicit-function-declaration]
glReadPixels(x, y, width, height,
^
src/screengrab.c:236:30: error: use of undeclared identifier 'GL_BGRA'
MMRGB_IS_BGR ? GL_BGRA : GL_RGBA,
^
src/screengrab.c:236:40: error: use of undeclared identifier 'GL_RGBA'
MMRGB_IS_BGR ? GL_BGRA : GL_RGBA,
^
9 warnings and 9 errors generated.
error: Setup script exited with error: command 'clang' failed with exit status 1
谁能帮忙吗。我需要自动检测,因为它能在多个平台上工作
我用过伊桑。提拉-thompson.com/Mac_OS_X_端口.html安装libpng
用命令行工具安装xcode
python autopy_安装python autopy时出错相关推荐
- ug12在win8计算机名错,Win8安装UG9.0时出错提示“UGII_TMP_DIR 被设为一个有无效(非ASCII)字符的目录”怎么办...
在win8操作系统中安装程序软件总会遇到一些故障问题的,这不有位用户说Win8安装UG9.0时出错提示"UGII_TMP_DIR 被设为一个有无效(非ASCII)字符的目录"(如下 ...
- Windows安装程序初始化时出错。安装程序将立即关闭。(原)
安装Microsoft .Net Framework 1.1时出错:Windows安装程序初始化时出错.安装程序将立即关闭.错误如下图所示: [img]http://msdn.iteye.com/up ...
- 安装Adobe AIR 时出错 管理员可能不允许安装
工作中遇到的问题,下载软件找了好几个都不成,废了些时间,所以就分享一下 1,解决这个问题,需要先下载Windows Installer Clean UP,然后运行,然后卸载Adobe AIR ,详细方 ...
- 解决【安装 Adobe AIR 时出错。管理员可能不允许安装此软件。请与管理员联系。】
项目场景: 老师留了关于Scratch的作业,在安装Adobe AIR时出现了这个问题 # 问题描述: 安装 Adobe AIR 时出错.管理员可能不允许安装此软件.请与管理员联系. 在网上查找了一些 ...
- 零基础自学Python:安装Python、解释器、代码风格等
Python是一种面向对象.解释型计算机程序设计语言.语法简洁清晰,强制用空白符作为语句缩进.Python具有丰富和强大的库,又被称为胶水语言.能把其他语言(主要C/C++)写的模块很轻松的结合在一起 ...
- 手机怎么下载python并安装-Python入门【1】Python下载安装,这几步你要了解
Python的下载安装对于新手来说有几个坑需要注意一下,我刚开始入门Python的时候,栽了不少跟头,也浪费了不少时间,现在跟同学总结一下. 工具/材料 Python安装包 Windows.Mac.L ...
- Python|Python简介|安装Python解释器|运行|开发工具|Python之禅|turtle绘制五星红旗|绘制方块|绘制小猪佩奇|语言100课:学习(1)
文章目录 源项目地址 初识Python Python简介 Python的历史 Python的优缺点 Python的应用领域 安装Python解释器 运行Python程序 确认Python的版本 编写P ...
- python语言安装-Python安装
Python是一种面向对象的解释型计算机程序设计语言,由荷兰人Guido van Rossum于1989年发明. 1.下载python安装包 python的windows版本官方下载网址:https: ...
- python语言安装-Python语言脚本的安装和配置
Python语言脚本有很广泛的应用,在这一过程中,我们会看到种种的问题.其实只要仔细学习就能解决.下面我们就来详细的学习下相关的技术信息.希望大家有所收获. 目前有许多第三方脚本语言可供直接使用,例如 ...
最新文章
- 2016年云巴产品更新合集
- sencha touch tabsidebar 源码扩展
- LDAP之一:OpenLDAP管理员指南资料
- python open写入_Python3 open() 函数详解 读取文件写入文件追加文件二进制文件
- Linux学习之Ubuntu安装Java
- PotPlayer 64 bit快捷键大全
- mybatis实战总结
- CST时间转换成 yyyy-MM-dd格式
- 【NLP】文献翻译2——英语单词语义相似性的Word2Vec模型分析
- 计算机操作日志文件,教你完全读懂Windows日志文件
- pvr文件转成png和plist
- 如何检测猥琐的私有SDWAN隧道协议
- 电脑用户没有admin权限,如何配置node开发环境
- java网课|Scanner
- React / Vue 前后端分离项目实现微信分享教程
- linux vim输入法切换,完美解决Mac下Vim/Emacs的输入法切换问题
- 科林明伦杯哈尔滨理工大学第八届程序设计竞赛——Hrbust-2378 小H的问题(模拟)
- java B2B2C源码电子商务平台 ---搭建Eureka注册中心
- JVM在OOM日志排查
- R数据分析:孟德尔随机化实操