Open aelsayad opened 6 years ago
That tool is from espressif not chilipeppr so I would post on their forums
On Feb 12, 2018 11:41 AM, "aelsayad" notifications@github.com wrote:
Currently, 'pip install esptool' installs 2.2.1 instead of 2.1, causing the script to fail with the following error: pkg_resources.DistributionNotFound: The 'esptool==2.2' distribution was not found and is required by the application
Updating the script like so seems to fix the problem: `#!C:\Python27\python.exe EASY-INSTALL-ENTRY-SCRIPT: 'esptool==2.2.1','console_scripts','esptool.py'
requires = 'esptool==2.2.1' import re import sys from pkg_resources import load_entry_point
if name == 'main': sys.argv[0] = re.sub(r'(-script.pyw?|.exe)?$', '', sys.argv[0]) sys.exit( load_entry_point('esptool==2.2.1', 'console_scripts', 'esptool.py')() ) `
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/chilipeppr/workspace-esp32-lua/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AHidbe2Y8FzQ31nJBDEA2_nbm6bvwKhvks5tUJPsgaJpZM4SCtzC .
Currently, 'pip install esptool' installs 2.2.1 instead of 2.1, causing the script to fail with the following error: pkg_resources.DistributionNotFound: The 'esptool==2.2' distribution was not found and is required by the application
Updating the script like so seems to fix the problem: `#!C:\Python27\python.exe
EASY-INSTALL-ENTRY-SCRIPT: 'esptool==2.2.1','console_scripts','esptool.py'
requires = 'esptool==2.2.1' import re import sys from pkg_resources import load_entry_point
if name == 'main': sys.argv[0] = re.sub(r'(-script.pyw?|.exe)?$', '', sys.argv[0]) sys.exit( load_entry_point('esptool==2.2.1', 'console_scripts', 'esptool.py')() ) `