mpy-snippets icon indicating copy to clipboard operation
mpy-snippets copied to clipboard

Failed to Execute

Open feylen opened this issue 4 years ago • 4 comments

PS /Users/sean/.vscode/extensions/rt-thread.rt-thread-micropython-1.0.7/ampy> ./cli_mac -p /dev/cu.usbmodem3164395C32382 repl Traceback (most recent call last): File "cli.py", line 34, in File "", line 983, in _find_and_load File "", line 967, in _find_and_load_unlocked File "", line 677, in _load_unlocked File "/Users/summer/Desktop/work/python3_venv_cli/venv/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 627, in exec_module File "site-packages/serial/tools/list_ports.py", line 29, in File "", line 983, in _find_and_load File "", line 967, in _find_and_load_unlocked File "", line 677, in _load_unlocked File "/Users/summer/Desktop/work/python3_venv_cli/venv/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 627, in exec_module File "site-packages/serial/tools/list_ports_posix.py", line 31, in File "", line 983, in _find_and_load File "", line 967, in _find_and_load_unlocked File "", line 677, in _load_unlocked File "/Users/summer/Desktop/work/python3_venv_cli/venv/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 627, in exec_module File "site-packages/serial/tools/list_ports_osx.py", line 32, in ValueError: dlsym(RTLD_DEFAULT, kIOMasterPortDefault): symbol not found [47449] Failed to execute script cli

PS /Users/sean> sw_vers
ProductName: macOS ProductVersion: 11.2.1 BuildVersion: 20D74

feylen avatar Feb 27 '21 20:02 feylen

I think this error is caused by Mac OS's upgrade, the MicroPython tool doesn't support MacOS's current version very well.

SummerGift avatar Feb 28 '21 03:02 SummerGift

Thank you for your reply. I will await an update and try it again.Cheers,Seanvia Newton MailOn Sat, Feb 27, 2021 at 9:26 PM, 我夏了夏天 [email protected] wrote: I think this error is caused by Mac OS's upgrade, the MicroPython tool doesn't support MacOS's current version very well.

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/RT-Thread/mpy-snippets/issues/58#issuecomment-787260030", "url": "https://github.com/RT-Thread/mpy-snippets/issues/58#issuecomment-787260030", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

feylen avatar Feb 28 '21 16:02 feylen

I have the same problem

MacOS Big Sur 11.6

winnie2012 avatar Oct 14 '21 08:10 winnie2012

Same problem on macOS Monterey 12.2.1.

Sloaix avatar Feb 17 '22 18:02 Sloaix