yes, if you installed this one, pathlib and all other packages should be included. We discussed this point here: Snap2stamps package: a free tool to automate the SNAP-StaMPS Workflow
Sometimes, if you type ‘python’ in your shell, another instance (e.g. installed with different software) of python is called instead of the Anaconda one.
Make sure Anaconda python is in the list of your PATH variable (move it at the top at best).
Alternatively, you call python with the full path to anaconda python.exe to go sure its libraries are used.