Totally new and lost. ESP32 dev bd on OSX

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
freddietheone
Posts: 3
Joined: Fri Jun 30, 2017 8:05 am
Contact:

Totally new and lost. ESP32 dev bd on OSX

Post by freddietheone » Sun Jul 19, 2020 11:37 am

Hello Forum,

Completely new and out of my depth here.
I have an ESP32 dev board with USB connection. I'm trying to erase it and flash MicroPython into it.
Basic guidance says to do this I should install esptool using 'pip install esptool' from Terminal. However, when I try this I get the error message:

% pip install esptool
Collecting esptool
Could not fetch URL https://pypi.python.org/simple/esptool/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) - skipping
Could not find a version that satisfies the requirement esptool (from versions: )
No matching distribution found for esptool

I can expand this out, if that helps?

This has left me 'stuck' as I know so little I do not know how to proceed. Hence, I call up knowledge acquired by those way ahead of me.

I'm running a MacBookPro, Catalina 10.15.6 and Python 3.8.4 (which I am just starting to learn). I am after loading MicroPython to the ESP32 board, to do simple remote monitoring of a wind-turbine, where a physical connection would be almost impossible.

Sadly I fell at the first hurdle!

All help and guidance gratefully received, up here in cloudy York.

Regards,
CF
freddietheone

User avatar
JacquesC
Posts: 16
Joined: Sun Feb 17, 2019 5:04 am

Re: Totally new and lost. ESP32 dev bd on OSX

Post by JacquesC » Mon Jul 20, 2020 3:25 am

Hello,
I think, a very simple way to flash and use micropython in ESP32 board is to use Thonny. (www.Thonny.org) it works very well on MacOs.
esptools are included
In the menu you have [execute / choose the interpreter and then at the bottom you can chose the microsoftware you want to flash to the board.
...
And everything is going simple and easy ;-)

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: Totally new and lost. ESP32 dev bd on OSX

Post by jimmo » Mon Jul 20, 2020 4:03 am

freddietheone wrote:
Sun Jul 19, 2020 11:37 am
There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) - skipping
Sounds like you have a very old version of pip.

How did you install Python?

freddietheone
Posts: 3
Joined: Fri Jun 30, 2017 8:05 am
Contact:

Re: Totally new and lost. ESP32 dev bd on OSX

Post by freddietheone » Mon Jul 20, 2020 8:11 am

Hello jimmy,

Thanks for your reply... contact and help at last.

I simply went to 'https://www.python.org/downloads/' and downloaded the latest version for OSX, which was 3.8.4. Ran the install and copied it to Applications. Prior to this I had the Apple loaded V2.7 and a V3.2 loaded by me a while ago and never really used.
Work, work and more work, got in the way. No time to learn and play.

What do you have in mind?

VKR,
Chris F
freddietheone

freddietheone
Posts: 3
Joined: Fri Jun 30, 2017 8:05 am
Contact:

Re: Totally new and lost. ESP32 dev bd on OSX

Post by freddietheone » Mon Jul 20, 2020 8:40 am

from previous reply...

sorry 'jimmo' not 'jimmy'

CF
freddietheone

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: Totally new and lost. ESP32 dev bd on OSX

Post by jimmo » Mon Jul 20, 2020 9:32 am

freddietheone wrote:
Mon Jul 20, 2020 8:11 am
What do you have in mind?
Can you run

Code: Select all

$ python --version
$ pip --version
and see what you get?

Post Reply