Python Forum
Help installing Pythin-Pip-Mouse
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help installing Pythin-Pip-Mouse
#1
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
Reply
#2
https://pypi.org/project/pynput/
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#3
Many thanks -- all good now.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  mouse 0.7.0 - mouse polling hate 125-1000hz penahuse 1 2,524 Dec-06-2019, 09:51 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020