- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我正在尝试在 ubuntu 18.04 上安装 Pyautogui,但我不断收到以下错误消息:
$pip3 install pyautogui
Collecting pyautogui
Using cached https://files.pythonhosted.org/packages/45/70/c5d340fadb06106135b7fe9677fc6d275f3cd7f7e6f896316c4cfe6c022c/PyAutoGUI-0.9.37.tar.gz
Collecting pymsgbox (from pyautogui)
Using cached https://files.pythonhosted.org/packages/b6/65/86379ede1db26c40e7972d7a41c69cdf12cc6a0f143749aabf67ab8a41a1/PyMsgBox-1.0.6.zip
Collecting PyTweening>=1.0.1 (from pyautogui)
Using cached https://files.pythonhosted.org/packages/b9/f8/c32a58d6e4dff8aa5c27e907194d69f3b57e525c2e4af96f39c6e9c854d2/PyTweening-1.0.3.zip
Collecting Pillow (from pyautogui)
Using cached https://files.pythonhosted.org/packages/d1/24/f53ff6b61b3d728b90934bddb4f03f8ab584a7f49299bf3bde56e2952612/Pillow-5.2.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting pyscreeze (from pyautogui)
Using cached https://files.pythonhosted.org/packages/c9/6e/e175fda37d76d7846a6cda8a4364dfd7c2d343139b0716c4f03194d14933/PyScreeze-0.1.17.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-6aakksn1/pyscreeze/setup.py", line 10, in <module>
with open("README.md", "r") as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'README.md'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-6aakksn1/pyscreeze/
有人可以帮帮我吗?
最佳答案
这里是 PyScreeze 维护者。这是由打包错误引起的,已在 0.1.18 中修复。如果您安装 pyautogui,它现在应该可以工作,尽管您可能必须删除 the pip cache首先在您的机器上。
关于python - 无法安装pyautogui,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51426884/
import pyautogui print("hello") 运行后,我会看到以下内容: C:\Users\Darkm\Anaconda3\envs\PythonChallenges\python.
我实际上正在使用 Pyautogui 编写脚本,它控制我的鼠标并使用我的浏览器。我的问题是,如果最后一次点击不是超文本链接或类似的点击,我希望脚本停止以下操作或以下鼠标移动和点击! 这是我的代码: i
我正在尝试使用 Python 库 pyautogui 自动执行一些 GUI 操作。 执行以下简单命令: pyautogui.typewrite("a1b2c3") 导致 123 被写入。 有什么想法吗
我有这段代码可以检测图像并单击它。代码没有错误,但不幸的是代码不适用于缩放应用程序,它在另一个应用程序中工作得很好。 import pyautogui import time pyautogui.FA
我已阅读 import error for pyautogui 这并没有回答我的问题。 我正在尝试通过 3.5.2 shell 或 windows cmd 导入 pyautogui。但是当将 shel
https://pypi.python.org/pypi/PyAutoGUI 此处列出了可以使用库进行的所有可用操作,但未列出双指和三指滚动。由于这些操作对于 OS X 是必不可少的,我确信他们已经将
我正在尝试使用 pyautogui.locateCenterOnScreen()在屏幕上找到图像的确切点,但每当返回坐标时,它似乎总是大两倍(即给出 (2026, 722) 但实际上是 (1013,
我正在将Python 3.x与pyautogui库一起使用。当我将鼠标移到任务栏上的Windows图标时,该图标会更改其颜色(由于悬停事件)。然后,我单击它打开菜单。 现在我的问题: 用pyautog
我正在运行 OS X El Capitan v. 10.11.3 我正在尝试安装 PyAutoGUI 在终端上,我成功地完成了以下操作: sudo pip3 install pyobjc-core
我正在编写一个脚本来自动执行 SAP GUI 中的某些管理任务。我可以单击导航、使用制表符、输入字符串并在表单中按回车键。 问题:当我使用 pyautogui 发送时,菜单键分配似乎不起作用(例如:p
我在我的 Mac OS X 10.11 上运行与自制软件一起安装的 Python 2.7.12,并尝试使用 pyautogui。但是,当我尝试将它作为另一个 .py 文件中的导入模块运行时,它一直崩溃
我对 Python pyautogui 有疑问。我正在尝试编写一个程序来发送电子邮件。 pyautogui.hotkey('win', 's') pyautogui.typewrite('Outl
基本上,每当我调用 pyautogui 进行单击时,它都会执行,但随后会使程序崩溃。这是程序: import pyautogui import time pyautogui.click(650, 20
我正在使用 pyautogui 模拟同时按下 shift 和 end - 当我自己输入时,它突出显示所有条目,但是当我通过下面的代码执行时,它只是移动到最后的文件 - 没有突出显示每个组件,所以似乎没
我正在尝试在全屏游戏中自动执行任务以提高 QOL。这意味着从游戏的屏幕截图中读取一个值,如果满足我设置的条件,则找到图像并右键单击它。 我在使用 pyautogui locateCenterOnScr
我有一个问题,包括以下内容:Pyautogui 打字机不会输入字母,只能输入数字。例如,当我执行 pyautogui.typewrite("abc123") 只出现“123”。这个问题类似于这个问题:
我正在摆弄 PyAutoGUI,我正在学习 hotkey 功能。我想让它按 Command+R,但我找不到关键字(比如 control 变成 ctrl)。这是什么? 我正在使用 Pycharm。我完全
我正在使用 pyautogui 将窗口移动到屏幕的左上角。对于某些应用程序(例如 Excel 和 Skype),这可以正常工作。对于 Chrome 和记事本等其他应用程序,窗口会移动到左上角右侧 10
我有一段代码在我的电脑上运行得很好: updated=0 while updated==0: w=pyautogui.getWindows() lw=list(w)
我正在尝试使用 pyautogui 单击进入程序窗口。 当在程序窗口中单击我想要按下的按钮时,鼠标光标旁边会出现一个加载图标,就好像它正在思考一样,但它实际上从未单击过。但是,它确实移动到我提供的光标
我是一名优秀的程序员,十分优秀!