安装visual studio code 出现的path变量含有""问题

问题描述:

The environment variable ‘Path’ seems to have
some paths containing characters ‘"’.
The existence of such characters are known to have
caused the Python extension to not load. If the
extension fails to load please modify your paths to
remove these characters.
​​​​​​​

解决方法

  • 打开cmd,输入path,查看path变量;
  • 复制所有的path变量,到visual studio code
  • 此时ctrl+f查看,path变量中含有 “”,并将其删除
  • 以管理员的身份打开power shell,然后输入setx /M PATH "删除错误字符的路径"
  • 关闭打开cmd,输入path,即可发现路径不含""字符
  • 此时在打开visual studio code 就不会显示错误信息

你可能感兴趣的:(安装visual studio code 出现的path变量含有""问题)