pydirectinput icon indicating copy to clipboard operation
pydirectinput copied to clipboard

not working in Linux Arch

Open zeekus opened this issue 3 years ago • 3 comments

This python library is not working for me in Arch Linux. What is this windll dependency ?

source: simple.py

import pyautogui
import pydirectinput
pydirectinput.moveTo(100, 150) # Move the mouse to the x, y coordinates 100, 150.

I get this error on running it.

[zeekus@archlinux ~]$ python3 simple.py 
Traceback (most recent call last):
  File "/home/zeekus/simple.py", line 2, in <module>
    import pydirectinput
  File "/home/zeekus/.local/lib/python3.10/site-packages/pydirectinput/__init__.py", line 6, in <module>
    SendInput = ctypes.windll.user32.SendInput
AttributeError: module 'ctypes' has no attribute 'windll'

zeekus avatar Oct 14 '22 18:10 zeekus

same problem here

italojohnny avatar Dec 01 '23 21:12 italojohnny

Anyone found a solution?

talha-atif avatar Feb 06 '24 13:02 talha-atif