Python Forum
Help installing Pythin-Pip-Mouse - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Help installing Pythin-Pip-Mouse (/thread-29720.html)



Help installing Pythin-Pip-Mouse - ozstar - Sep-17-2020

Hello,

I had Python installed on a Win 10 box to start a program by touching a mouse co-ord on the screen. I have a py script and a txt time schedule to do this. It works fine.

I now have to go to another Win 10 box so have copied over the folder with the Python script and the txt file in it and then installed Python 385.

I tried to initiate the script in the Dos box as I have been doing, but it tells me this

Quote:C:\Starter>starter.py
Traceback (most recent call last):
File "C:\Starter\starter.py", line 4, in <module>
from pynput.mouse import Button, Controller
ModuleNotFoundError: No module named 'pynput'

C:\Starter>

It seems I need the mouse script but not sure where to get and set up.

Any help please?

oz


RE: Help installing Pythin-Pip-Mouse - buran - Sep-17-2020

https://pypi.org/project/pynput/


RE: Help installing Pythin-Pip-Mouse - ozstar - Sep-18-2020

Many thanks -- all good now.