moses-palmer / pynput

Sends virtual input commands
GNU Lesser General Public License v3.0
1.73k stars 243 forks source link

Cannot install on linux Ubuntu (depends on pywin32) #598

Closed vricosti closed 2 months ago

vricosti commented 2 months ago

pip3 install pyinput Collecting pyinput Using cached pyinput-0.3.2-py2.py3-none-any.whl.metadata (383 bytes) INFO: pip is looking at multiple versions of pyinput to determine which version is compatible with other requirements. This could take a while. Using cached pyinput-0.3.1-py2.py3-none-any.whl.metadata (383 bytes) Using cached pyinput-0.3.0-py2.py3-none-any.whl.metadata (383 bytes) Using cached pyinput-0.2.0-py2.py3-none-any.whl.metadata (382 bytes) Using cached pyinput-0.1.0-py2.py3-none-any.whl.metadata (382 bytes) ERROR: Cannot install pyinput==0.1.0, pyinput==0.2.0, pyinput==0.3.0, pyinput==0.3.1 and pyinput==0.3.2 because these package versions have conflicting dependencies.

The conflict is caused by: pyinput 0.3.2 depends on pywin32 pyinput 0.3.1 depends on pywin32 pyinput 0.3.0 depends on pywin32 pyinput 0.2.0 depends on pywin32 pyinput 0.1.0 depends on pywin32

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

Dont understand how to install pyinput on linux ...

vricosti commented 2 months ago

I have also tried on a virtual machine running the last Ubuntu (24.04 LTS) and same error message.

moses-palmer commented 2 months ago

Thank you for your report.

This is the repository for the library pynput, not pyinput. I will close this issue.