How do I install esptool on Windows

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
Pithon
Posts: 5
Joined: Sat Aug 27, 2016 3:59 pm

How do I install esptool on Windows

Post by Pithon » Sat Nov 11, 2017 9:50 pm

I've just downloaded Python 3.6.3 64-bit and am trying to follow these instructions:

https://docs.micropython.org/en/latest/ ... intro.html

Code: Select all

pip install esptool 
does not work when I type it into Python. It returns a syntax error?

chrisb2
Posts: 15
Joined: Sat Apr 01, 2017 4:19 am

Re: How do I install esptool on Windows

Post by chrisb2 » Mon Nov 13, 2017 6:23 am

That version of Python should come with pip already install. What error do you get?

What is the result of running the following at the DOS prompt:

Code: Select all

python -V
pip -V

ccooper21
Posts: 3
Joined: Sun Aug 13, 2017 8:27 am

Re: How do I install esptool on Windows

Post by ccooper21 » Mon Nov 13, 2017 8:15 pm

when I type it into Python
"pip" is a command line tool that you run from the Windows command prompt as opposed to via the Python text interface (i.e. the REPL). In other words, you'll need to run the "pip install esptool" command before starting "python". In fact, when using "pip" to install "esptool", it will create an "esptool.exe" file in the "Scripts" directory of your Python installation. You can hence run "esptool" from the Windows command prompt and it will take care of invoking Python for you in order to run.

-- Chris

Post Reply