今天用vscode运行python扩展时出现了如下问题
The environment variable ‘Path’ seems to have some paths containing the ‘"’ character. The existence of such a character is known to have caused the Python extension to not load. If the extension fails to load please modify your paths to remove this ‘"’ character.
善用搜索,说是环境变量里有引号造成的,看看
- WIn+r 键,输入cmd,打开命令提示符
- 输入 echo %PATH%
- 找出带引号的地方,比如我的是windowsApps后面,还有Java\jdk…\jre\bin后面
- 打开文件管理器,在”此电脑“处右键,查看属性.再进入高级系统设置,编辑环境变量