mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-19 14:26:01 -04:00
Tools: Improve the message for missing setuptools in the Python checker
This commit is contained in:
parent
29307e0dbf
commit
b738953e90
@ -11,9 +11,9 @@ import sys
|
|||||||
try:
|
try:
|
||||||
import pkg_resources
|
import pkg_resources
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print('pkg_resources cannot be imported probably because the pip package is not installed and/or using a '
|
print('pkg_resources cannot be imported. The most common cause is a missing pip or setuptools package. '
|
||||||
'legacy Python interpreter. Please refer to the Get Started section of the ESP-IDF Programming Guide for '
|
'If you\'ve installed a custom Python then these packages are provided separately and have to be installed as well. '
|
||||||
'setting up the required packages.')
|
'Please refer to the Get Started section of the ESP-IDF Programming Guide for setting up the required packages.')
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user