Working with Python on Win10, I pip-installed watchdog into my venv, and it's listed when I do a 'pip list'. I activate venv in VSCode Terminal. Then I try:
from watchdog.observers import Observer
from watchdog.events import FileSystemEventHandler
Any idea?
Solution:
The problem was: there were spaces in the path to the venv, that seem to prevent installing watchdog. 'pip list' showed a watchdog in another directory, not from the venv.
The problem was: there were spaces in the path to the venv, that seem to prevent installing watchdog. 'pip list' showed a watchdog in another directory, not from the venv.