~/Developer/MadSpam $ python madspam.py
Traceback (most recent call last):
File "/data/data/com.termux/files/home/Developer/MadSpam/madspam.py", line 1, in
import pyautogui as madbhai
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pyautogui/init.py", line 249, in
import mouseinfo
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/mouseinfo/init.py", line 223, in
_display = Display(os.environ['DISPLAY'])
File "<frozen os>", line 679, in __getitem__
KeyError: 'DISPLAY'
Can u solve this error?
~/Developer/MadSpam $ python madspam.py Traceback (most recent call last): File "/data/data/com.termux/files/home/Developer/MadSpam/madspam.py", line 1, in
import pyautogui as madbhai
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pyautogui/init.py", line 249, in
import mouseinfo
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/mouseinfo/init.py", line 223, in
_display = Display(os.environ['DISPLAY'])