简体   繁体   English

如何在linux上的python中安装模块autopy?

[英]How to install module autopy in python on linux?

I wanna install module Autop 0.51 on Linux.我想在 Linux 上安装模块 Autop 0.51。 What should i do.?我该怎么办。?

python Setup.py install

It show error please help me它显示错误请帮助我

http://i.stack.imgur.com/0zKEY.jpg http://i.stack.imgur.com/0zKEY.jpg

http://i.stack.imgur.com/hjcnz.jpg http://i.stack.imgur.com/hjcnz.jpg

error: command 'gcc' failed with exit status 1错误:命令“gcc”失败,退出状态为 1

The above error occurs because you don't have the python-dev headers installed出现上述错误是因为你没有安装 python-dev 头文件

Do a yum search python | grep -i devel做一个yum search python | grep -i devel yum search python | grep -i devel and then install the appropriate package for eg: yum search python | grep -i devel然后安装适当的包,例如:

yum install python-devel.x86_64

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM