-->
Page 1 of 1

Problems with esptool

PostPosted: Sat Aug 19, 2017 10:08 pm
by jon65
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
Code: Select all$ pip install -upgrade esptools
and got SyntaxError: invalid syntax
so I did more searching and I have managed to install esptool by using
Code: Select allimport pip
package_name-'esptool'
pip.main(['install", package_name])

Everything seemed to go ok but if I try
Code: Select allesptool.py -h

the return is
Code: Select allTraceback (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

Re: Problems with esptool

PostPosted: Sun Aug 20, 2017 7:20 pm
by jon65
problem solved by python forum yesterday