From b738953e900f886276da9b2d5c305e935bdb3b71 Mon Sep 17 00:00:00 2001 From: Roland Dobai Date: Mon, 18 Jul 2022 10:46:38 +0200 Subject: [PATCH] Tools: Improve the message for missing setuptools in the Python checker --- tools/check_python_dependencies.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/check_python_dependencies.py b/tools/check_python_dependencies.py index 489ebdf971..c918d4d787 100755 --- a/tools/check_python_dependencies.py +++ b/tools/check_python_dependencies.py @@ -11,9 +11,9 @@ import sys try: import pkg_resources except ImportError: - print('pkg_resources cannot be imported probably because the pip package is not installed and/or using a ' - 'legacy Python interpreter. Please refer to the Get Started section of the ESP-IDF Programming Guide for ' - 'setting up the required packages.') + print('pkg_resources cannot be imported. The most common cause is a missing pip or setuptools package. ' + 'If you\'ve installed a custom Python then these packages are provided separately and have to be installed as well. ' + 'Please refer to the Get Started section of the ESP-IDF Programming Guide for setting up the required packages.') sys.exit(1) try: