#๐Ÿ”’ pyscreeze error

8 messages ยท Page 1 of 1 (latest)

civic thunder
#

Traceback (most recent call last):
File "C:\Users\X\Desktop\Epicduel-bot\lowres.py", line 366, in <module>
Juggernaut()
~~~~~~~~~~^^
File "C:\Users\X\Desktop\Epicduel-bot\lowres.py", line 150, in Juggernaut
privateChat()
~~~~~~~~~~~^^
File "C:\Users\X\Desktop\Epicduel-bot\lowres.py", line 70, in privateChat
PM = MI.locateCenterOnScreen('images/skills/pm.png', confidence = 0.70, region = (730, 157, 50, 30))
File "C:\Users\X\AppData\Local\Programs\Python\Python313\Lib\site-packages\pyautogui_init_.py", line 228, in _couldNotImportPyScreeze
raise PyAutoGUIException(
"PyAutoGUI was unable to import pyscreeze. (This is likely because you're running a version of Python that Pillow (which pyscreeze depends on) doesn't support currently.) Please install this module to enable the function you tried to call."
)
pyautogui.PyAutoGUIException: PyAutoGUI was unable to import pyscreeze. (This is likely because you're running a version of Python that Pillow (which pyscreeze depends on) doesn't support currently.) Please install this module to enable the function you tried to call.

[process exited with code 1 (0x00000001)]
You can now close this terminal with Ctrl+D, or press Enter to restart.

How do I fix it?

hazy blazeBOT
#

@civic thunder

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

frosty grail
#

it just said it didn't find pyscreeze

#

!pip pyscreeze

hazy blazeBOT
#

A simple, cross-platform screenshot module for Python 2 and 3.

Released on <t:1724194987:D>.

civic thunder
#

C:\Users\X>pip install PyScreeze
'pip' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\X>py -m pip install pyscreeze
Requirement already satisfied: pyscreeze in c:\users\X\appdata\local\programs\python\python313\lib\site-packages (1.0.1)

hazy blazeBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.