Skip to content

Windows

环境变量

有时候会出现 python g++ 命令突然不能用,原因可能是 环境变量失效

这台电脑-》属性-》高级系统设置-》环境变量-》系统变量-》选中 path-》编辑-》添加所需要的内容

需要的内容可以全局搜索,添加内容举例:C:\Users\nocilantro\AppData\Local\Programs\Python\Python36

C:\MinGW\bin

pip:C:\Users\nocilantro\AppData\Local\Programs\Python\Python36\Scripts

mysql:C:\Program Files\MySQL\MySQL Server 5.7\bin

gitbook:C:\Users\nocilantro\AppData\Roaming\npm

VScode:D:\Microsoft VS Code\bin

添加好之后再确认一下