esptool.py broken on macOS Big Sur Beta
See original GitHub issueThis issue came with the PlatformIO 2.0 IDE update.
Error Message
Traceback (most recent call last):
File "/Users/phil/.platformio/packages/tool-esptoolpy/esptool.py", line 57, in <module>
import serial.tools.list_ports as list_ports
File "/Users/phil/.platformio/penv/lib/python3.8/site-packages/serial/tools/list_ports.py", line 29, in <module>
from serial.tools.list_ports_posix import comports
File "/Users/phil/.platformio/penv/lib/python3.8/site-packages/serial/tools/list_ports_posix.py", line 31, in <module>
from serial.tools.list_ports_osx import comports
File "/Users/phil/.platformio/penv/lib/python3.8/site-packages/serial/tools/list_ports_osx.py", line 32, in <module>
kIOMasterPortDefault = ctypes.c_void_p.in_dll(iokit, "kIOMasterPortDefault")
ValueError: dlsym(RTLD_DEFAULT, kIOMasterPortDefault): symbol not found
*** [.pio/build/debug/firmware.bin] Error 1
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
ESP32 / Big Sur Mac OS compilation fail - Arduino Forum
I've been researching this bug, which apparently is an issue in Pyserial querying available ports. The errors seen when compiling for ESP32 ...
Read more >macOS Big Sur dlsym(RTLD_DEFAULT, kIOMasterPortDefault)
I found temporary solution to that problem. Just download https://github.com/espressif/esptool/blob/master/esptool.py and replace it in /.
Read more >esptool.py fail to install on mac - Apple Stack Exchange
I'm trying to use esptool.py to flash ESP32. ... The same with me: Mac OS M1 Monterey 12.4 can't install esptool (with python...
Read more >Installing ESP32 in Arduino IDE (Windows, Mac OS X, Linux)
In this tutorial we'll show you how to install the ESP32 board in Arduino IDE whether you're using Windows, Mac OS X or...
Read more >USB interface communication issue. - Parallels Forums
Upgraded to macOS12 Monterey... it didn't work with Big Sur either. ... parallels.com/threads/esptool-py-not-working-on-linux-guests.355828/
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks!
esptoolpy v3.0 will be used by default in the next platform release. As for now users on Big Sur can override the package directly in their configuration:
I can confirm this version working: https://github.com/espressif/esptool/blob/cb2060c0d768da38c9aa463e315e187a91f761f8/esptool.py
Maybe use this one for the current PlatformIO build instead?