如何安装 PyAutoGUI [英] How to install PyAutoGUI

查看:63
本文介绍了如何安装 PyAutoGUI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行 OS X El Capitan v. 10.11.3

I am running OS X El Capitan v. 10.11.3

我正在尝试安装 PyAutoGUI

I am trying to install PyAutoGUI

在终端上,我成功地执行了以下操作:

On Terminal, I did the following successfully:

sudo pip3 install pyobjc-core  
sudo pip3 install pyobjc

当我尝试运行sudo pip3 install pyautogui"时,我在终端中收到以下错误:

When I tried running "sudo pip3 install pyautogui" I got the following error in Terminal:

命令python setup.py egg_info"失败,错误代码为 1/private/tmp/pip-build-skuvquyu/pyscreeze

Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-skuvquyu/pyscreeze

我不知道该怎么办,所以如果有人有任何建议,我将不胜感激.

I am not sure what to do about this so if anyone has any advice, I would appreciate it.

谢谢

推荐答案

找到问题的答案

在 Linux 上,这是:

On Linux, this is:

sudo pip3 install python3-xlib

sudo apt-get install scrot

sudo apt-get install python3-tk

sudo apt-get install python3-dev

sudo pip3 install pyautogui

你好:D

这篇关于如何安装 PyAutoGUI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆