Meshtastic CLI Error 2024

I have followed the install doc and comms channel install including adding setup tools.

PS C:\Users\user1> meshtastic
Traceback (most recent call last):
File “”, line 198, in run_module_as_main
File “”, line 88, in run_code
File "C:\Users\user1\AppData\Local\Programs\Python\Python312\Scripts\meshtastic.exe_main
.py", line 4, in
File "C:\Users\user1\AppData\Local\Programs\Python\Python312\Lib\site-packages\meshtastic_init
.py", line 81, in
from meshtastic import (
File “C:\Users\user1\AppData\Local\Programs\Python\Python312\Lib\site-packages\meshtastic\util.py”, line 15, in
import pkg_resources
ModuleNotFoundError: No module named ‘pkg_resources’
PS C:\Users\user1> pip install setuptools
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: setuptools in c:\users\user1\appdata\local\packages\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\localcache\local-packages\python312\site-packages (69.1.1)
PS C:\Users\user1>

Thank you for any help

Solution:

delete python in remove programs.
reinstall following comms channel
install pip install --upgrade setuptools
Now works