pycom-fwtool-cli does not work on macOS Big Sur



  • The tool does not work on the newly release macOS version. It fails with the following output:

    File "bin/updater.py", line 25, in <module>
     File "/private/var/folders/1_/8wc1y5xd0_1bzgyyb3cf0_6c0000gn/T/pip-install-Tu89Nr/pyinstaller/PyInstaller/loader/pyimod03_importers.py", line 396, in load_module
     File "site-packages/serial/tools/list_ports.py", line 29, in <module>
     File "/private/var/folders/1_/8wc1y5xd0_1bzgyyb3cf0_6c0000gn/T/pip-install-Tu89Nr/pyinstaller/PyInstaller/loader/pyimod03_importers.py", line 396, in load_module
     File "site-packages/serial/tools/list_ports_posix.py", line 31, in <module>
     File "/private/var/folders/1_/8wc1y5xd0_1bzgyyb3cf0_6c0000gn/T/pip-install-Tu89Nr/pyinstaller/PyInstaller/loader/pyimod03_importers.py", line 396, in load_module
     File "site-packages/serial/tools/list_ports_osx.py", line 32, in <module>
    ValueError: dlsym(RTLD_DEFAULT, kIOMasterPortDefault): symbol not found
    [55414] Failed to execute script updater
    

    The problem has been reported also for esptools.py where is the solution.

    https://github.com/espressif/esptool/issues/540



  • I have not run into issues this far. You will need to update the pyserial package though (if i remember correctly) using pip3 install -U --pre pyserial

    Gijs



  • Is it safe now to upgrade from Catalina to Big Sur or is there still some problems with pymakr and/or vsc ? Thx.



  • This post is deleted!


  • Great! When can we expect this tool to work on the newest macOS version?



  • Thanks for informing us, we will get to work on this!
    Gijs


Log in to reply
 

Pycom on Twitter