Meshtastic Python CLI error

I get an error with python when running meshtastic and a Heltec V3 connected to the serial port.

C:\Users\fresu>meshtastic
Traceback (most recent call last):
File “”, line 198, in run_module_as_main
File “”, line 88, in run_code
File "C:\Program Files (x86)\Python312-32\Scripts\meshtastic.exe_main
.py", line 4, in
File "C:\Program Files (x86)\Python312-32\Lib\site-packages\meshtastic_init
.py", line 81, in
from meshtastic import (
File “C:\Program Files (x86)\Python312-32\Lib\site-packages\meshtastic\util.py”, line 15, in
import pkg_resources
ModuleNotFoundError: No module named ‘pkg_resources’

Any ideas on how to solve this?

Kind regards,
Fred/PA8F

You could try: pip install setuptools

2 Likes