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

Could not load serial devices #9260

Open
i-debug opened this issue Dec 23, 2024 · 0 comments
Open

Could not load serial devices #9260

i-debug opened this issue Dec 23, 2024 · 0 comments

Comments

@i-debug
Copy link

i-debug commented Dec 23, 2024

PIO Core Call Error: "FileNotFoundError: Traceback (most recent call last):\r\n File "C:\Users\cs\.platformio\penv\Lib\site-packages\platformio\main.py", line 103, in main\r\n File "C:\Users\cs\.platformio\penv\Lib\site-packages\click\core.py", line 1157, in call\r\n return self.main(args, kwargs)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\cs\.platformio\penv\Lib\site-packages\click\core.py", line 1078, in main\r\n rv = self.invoke(ctx)\r\n ^^^^^^^^^^^^^^^^\r\n File "C:\Users\cs\.platformio\penv\Lib\site-packages\platformio\cli.py", line 85, in invoke\r\n File "C:\Users\cs\.platformio\penv\Lib\site-packages\click\core.py", line 1682, in invoke\r\n cmd_name, cmd, args = self.resolve_command(ctx, args)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\cs\.platformio\penv\Lib\site-packages\click\core.py", line 1729, in resolve_command\r\n cmd = self.get_command(ctx, cmd_name)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\cs\.platformio\penv\Lib\site-packages\platformio\cli.py", line 91, in get_command\r\n File "C:\Users\cs\.platformio\penv\Lib\site-packages\platformio\cli.py", line 44, in _find_pio_commands\r\n File "C:\Users\cs\.platformio\python3\Lib\pathlib.py", line 931, in iterdir\r\n for name in os.listdir(self):\r\n ^^^^^^^^^^^^^^^^\r\nFileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'C:\\Users\\cs\\.platformio\\penv\\Lib\\site-packages\\platformio\\commands'\r\n\r\n============================================================\r\n\r\nAn unexpected error occurred. Further steps:\r\n\r\n Verify that you have the latest version of PlatformIO using\r\n python -m pip install -U platformio command\r\n\r\n Try to find answer in FAQ Troubleshooting section\r\n https://docs.platformio.org/page/faq/index.html\r\n\r\n Report this problem to the developers\r\n https://github.com/platformio/platformio-core/issues\r\n\r\n============================================================"

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

No branches or pull requests

1 participant