env-windows/maintain/维护注意.md

16 lines
681 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 维护注意事项
## 如何升级Python版本
电脑上安装一个Python2.7环境同时使用Pip安装requests模块,pip install requests, pip install Scons把安装在C盘下的Python27文件夹复制到env下面替换原来的同时要把C:\Windows\System32\python27.dll下的python27.dll也复制到python27文件夹下就可以了。目前Env已经升级到了Python2的最终版本后续无需再升级了。
## 部署到RT-Thread Studio
在当前`maintain`目录下执行执行:
```
pip install pypiwin32
python rt-studio-deploy.py
```
即可将在Studio中用不到的Env部分文件夹删除此后该份Env即可直接覆盖到Studio的Env中。