import pynput - 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: import pynput (/thread-24241.html) |
import pynput - Sherlock42 - Feb-05-2020 Traceback (most recent call last): File "C:\python_examples\pynput_2.py", line 1, in <module> from pynput.mouse import Listener File "C:\python_examples\pynput.py", line 1, in <module> from pynput.mouse import Listener ModuleNotFoundError: No module named 'pynput.mouse'; 'pynput' is not a package Hallo! I'm a beginner in python i can't import the pynput library. I get all the time the ModuleNotFound. I have been used pip(pip install pynput), but itsn't work. Can you help me, please? Thanks for your help! RE: import pynput - snippsat - Feb-05-2020 Rename your python_examples\ pynput.py it shadowing the real import of pynput.
RE: import pynput - Sherlock42 - Feb-08-2020 Thanks! |