Skip to content

向下兼容python版本 - #74

Merged
Rbb666 merged 1 commit into
RT-Thread-Studio:mainfrom
CXSforHPU:Compatibility_low_python
Aug 30, 2026
Merged

向下兼容python版本#74
Rbb666 merged 1 commit into
RT-Thread-Studio:mainfrom
CXSforHPU:Compatibility_low_python

Conversation

@CXSforHPU

Copy link
Copy Markdown
Contributor

部分版本env中存在较低版本python,在执行rtconfig.py脚本中,语法并不支持 os.makedirs(\'Debug\', exist_ok=True),修改语法为 os.path.exists(\'Debug\') or os.makedirs(\'Debug\')

报错如下

image

兼容低版本python后

image

@Rbb666
Rbb666 requested a lite review from Copilot and removed request for Copilot August 30, 2026 01:13
@Rbb666
Rbb666 merged commit b135be8 into RT-Thread-Studio:main Aug 30, 2026
18 checks passed
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

Successfully merging this pull request may close these issues.

2 participants