修改python环境变量(python2 to python3)

which python2

which python3

sudo rm /usr/bin/python

sudo ln -s /usr/bin/python3 /usr/bin/python

查看esp芯片型号及flash大小

esptool.py –chip auto –port /dev/ttyUSB0 flash_id