Problems with esptool
Posted: Sat Aug 19, 2017 10:08 pm
Hi I am using python 3.6.2 and the windows CMD interface and I keep getting syntax errors for codes that should work. I am trying to back-up the firmware on my 8266.
as advised first I tried
so I did more searching and I have managed to install esptool by using
Everything seemed to go ok but if I try
the return is
I am new to python and am using codes that others have suggested
if there is an easier way to back up the firmware please let me know
thanks
as advised first I tried
Code: Select all
and got SyntaxError: invalid syntax$ pip install -upgrade esptools
so I did more searching and I have managed to install esptool by using
Code: Select all
import pip
package_name-'esptool'
pip.main(['install", package_name])
Everything seemed to go ok but if I try
Code: Select all
esptool.py -h
the return is
Code: Select all
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'esptools' is not defined
I am new to python and am using codes that others have suggested
if there is an easier way to back up the firmware please let me know
thanks