Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to Execute #58

Open
feylen opened this issue Feb 27, 2021 · 4 comments
Open

Failed to Execute #58

feylen opened this issue Feb 27, 2021 · 4 comments
Labels
good first issue Good for newcomers

Comments

@feylen
Copy link

feylen commented Feb 27, 2021

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

@SummerGift
Copy link
Member

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

@SummerGift SummerGift added the good first issue Good for newcomers label Feb 28, 2021
@feylen
Copy link
Author

feylen commented Feb 28, 2021 via email

@winnie2012
Copy link

I have the same problem

MacOS Big Sur 11.6

@Sloaix
Copy link

Sloaix commented Feb 17, 2022

Same problem on macOS Monterey 12.2.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants