MicroPython compatibility with Python v3

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
MMliam
Posts: 121
Joined: Mon May 07, 2018 1:08 pm

MicroPython compatibility with Python v3

Post by MMliam » Mon May 07, 2018 1:31 pm

I recently watched the informative video by Tony D regarding "How to load MicroPython on the Feather HUZZAH ESP8266" (https://www.youtube.com/watch?time_cont ... MbFYeFtJeI). In the video Tony stresses the need to install Python 2, because the installation tool for the ESP8266 (esptool) is not compatible with version 3. Given that this video was created in 2016, has that situation changed; can Python v3 be installed instead? Are there updated videos?

Thanks Mickey

P.S. Is Tony associated with MicroPython.org, AdaFruit, other?

bitninja
Posts: 165
Joined: Thu Sep 15, 2016 4:09 pm
Location: Spring, Texas

Re: MicroPython compatibility with Python v3

Post by bitninja » Wed May 09, 2018 8:20 pm

The esptool will work version 3 of Python. TD works for Adafruit.

MMliam
Posts: 121
Joined: Mon May 07, 2018 1:08 pm

Re: MicroPython compatibility with Python v3

Post by MMliam » Thu May 10, 2018 2:42 am

Thanks so much for the reply. Thought TD worked for AdaFruit, but he had @micropython on his videos, so I wasn't sure.
Thanks again.

efahl
Posts: 15
Joined: Sat Dec 23, 2017 2:02 pm

Re: MicroPython compatibility with Python v3

Post by efahl » Thu May 10, 2018 2:03 pm

As bitninja indicates, Py 3 is fine. I use ampy and esptool with CPython 3.6.5 without issues.

Post Reply