So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By jon65
#69312 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
You do not have the required permissions to view the files attached to this post.