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

menuconfig报错 #2

Open
weety opened this issue Jun 18, 2022 · 2 comments
Open

menuconfig报错 #2

weety opened this issue Jun 18, 2022 · 2 comments

Comments

@weety
Copy link

weety commented Jun 18, 2022

软件安装env-0.1.2-py3-none-any.whl这个版本,在rt-thread BSP目录下执行scons --pyconfig会报错,是不这个软件中安装的menuconfig.py和rtt的tools中的menuconfig.py冲突了,导致不能正确导入.

我这边的执行日志如下:

$ scons --pyconfig
scons: Reading SConscript files ...
ImportError: cannot import name 'guiconfig' from 'menuconfig' (C:\Users\xxxx\AppData\Roaming\Python\Python38\site-packages\menuconfig.py):
  File "D:\work\firmware\board\stm32\stm32f405\SConstruct", line 50:
    objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False)
  File "D:\work\rt-thread\tools\building.py", line 404:
    from menuconfig import guiconfig
@liuyangzys
Copy link
Contributor

用 rtt menuconfig 的 cli 界面,你发的那个是要 gui 界面支持的,这个项目不支持也没必要

@wugensheng-code
Copy link
Owner

当时没有考虑支持pyconfig,只是想把menuconfig的功能做出来了

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

3 participants