Compiling SSD1306SimpleDemo.ino no longer works

Hello, I am trying to compile the example SSD1306SimpleDemo.ino on my Mac (Big Sur) but I get the following errors. This used to work before. I downloaded from: https://github.com/HelTecAutomation/Heltec_ESP32

Traceback (most recent call last):
File “esptool.py”, line 57, in
File “/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py”, line 389, in load_module
File “serial/tools/list_ports.py”, line 29, in
File “/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py”, line 389, in load_module
File “serial/tools/list_ports_posix.py”, line 31, in
File “/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py”, line 389, in load_module
File “serial/tools/list_ports_osx.py”, line 32, in
ValueError: dlsym(RTLD_DEFAULT, kIOMasterPortDefault): symbol not found
Failed to execute script esptool
exit status 255
/Applications/Arduino.app/Contents/Java/arduino-builder returned 255
Error compiling for board Heltec WiFi Kit 32.

Many thanks,
tom

hi,

How did you download the development environment?

Git version? or board Manager?

Maybe you need to download this extra: https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series

well - like I said: I downloaded the Arduino example from https://github.com/HelTecAutomation/Heltec_ESP32

It worked well on Mac OS 10.15, but after I upgraded to Mac OS 11 (Big Sur) I get these errors when compiling.

The aforementioned link is the one recommended for the OLED Heltec board (https://www.amazon.de/gp/product/B076P8GRWV/ref=ppx_yo_dt_b_asin_title_o05_s00?ie=UTF8&psc=1)

If there is another sample project that I should use with Arduino IDE on Mac OS Big Sur, then please let me know.

Many thanks,
tom

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

hi,

We have found the reason.

As you kown, This project is completely cloned from the ESP32 and ESP8266 projects provided by Espressif.

We tried the original development environment of espressif, but still failed to compile.


The reason is that the python toolchain is not compatible with Mac OS 11.


We have submitted the question to espressif. Now we need to wait for them to update the original development environment.

yes - correct. Many thanks for your support. Waiting for your update.