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

无法安装包 #53

Open
xuanvuong1702 opened this issue Mar 24, 2023 · 2 comments
Open

无法安装包 #53

xuanvuong1702 opened this issue Mar 24, 2023 · 2 comments

Comments

@xuanvuong1702
Copy link

我使用 adminconfig 命令安装,但在输入命令后:pkgs --update 我得到错误:

$ pkgs --update
Traceback (most recent call last):
  File "D:\RT-ThreadStudio\platform\env_released\env\tools\ConEmu\ConEmu\..\..\..\tools\scripts\env.py", line 126, in <module>
    main()
  File "D:\RT-ThreadStudio\platform\env_released\env\tools\ConEmu\ConEmu\..\..\..\tools\scripts\env.py", line 122, in main
    args.func(args)
  File "D:\RT-ThreadStudio\platform\env_released\env\tools\scripts\cmds\cmd_package\__init__.py", line 41, in run_env_cmd
    package_update()
  File "D:\RT-ThreadStudio\platform\env_released\env\tools\scripts\cmds\cmd_package\cmd_package_update.py", line 842, in package_update
    if not install_packages(sys_value, force_update):
  File "D:\RT-ThreadStudio\platform\env_released\env\tools\scripts\cmds\cmd_package\cmd_package_update.py", line 792, in install_packages
    if install_package(env_root, pkgs_root, bsp_root, package, force_update):
  File "D:\RT-ThreadStudio\platform\env_released\env\tools\scripts\cmds\cmd_package\cmd_package_update.py", line 267, in install_package
    url_from_json = package.get_url(package_info['ver'])
KeyError: 'ver'
@xuanvuong1702
Copy link
Author

xuanvuong1702 commented Mar 25, 2023

I just have install package by using RT Thread Setting instead of using command line. But the error still stand

@GarMingLi
Copy link

我也是遇到同样的问题

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

2 participants