as advised first I tried
$ pip install -upgrade esptools
so I did more searching and I have managed to install esptool by using
import pip
package_name-'esptool'
pip.main(['install", package_name])
Everything seemed to go ok but if I try
esptool.py -h
the return is
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