You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
On Feb 12, 2018 11:41 AM, "aelsayad" ***@***.***> 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
<#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')()
)
`
The text was updated successfully, but these errors were encountered: