嘿,我想为humenbenchmark aim training (https://humanbenchmark.com/tests/aim)制作一个机器人,但是当我尝试导入imagegrab时,我得到了一个非常长的错误错误是: `File "(Path to my python file)", line 1, in <module>
from PIL import ImageGrab File "<frozenbootstrap_externa
我尝试从文档中导入:pyautogui.click(pyautogui.locateOnScreen("select.png"))File3.5.4.0Qt5\python-3.5.4.amd64\lib\site-packages\pyscreeze\__init__.py", line 314, in _screenshot_win32
NameError: name 'ImageGrab</em
我在设备上使用python编写的代码如下 from PIL import ImageGrab
img = ImageGrab.grab(bbox= None) 当在Colab上运行时,它返回OSError: X connection failed: error 5或ImportError: ImageGrab is macOS and Windows only。然后我尝试了gtk.gdk,但在尝试了几种方法之后,我无法正确地安装和导入它。我也尝试过使用pyautogui,但在导入后我<e
我有一个简单的程序:import pyscreenshot as ImageGrab
im=ImageGrab.grab() File "C:\Users\Administrator\Downloads\sample.py", line 5, in <module>
im=ImageGrab.grab
因此,我在我自己的venv中,下面是我试图运行的一些代码:# fullscreenim.showModuleNotFoundError: No module named 'pyscreenshot'
但是,当我执行pip3列表时,pyscreenshot在3.0版本中存在,但是当我执行pip list时,它就不在了--这是导致导入错误的原因吗