报错variable 'Path' seems to have some paths containing the '"'

VScode总是提示我这个, 但是我确实没有找到路径 带有引号呀!

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.

The environment variable 'Path' seems to have some paths containing the '"'

虽然PY程序能跑, 但总会有这个:

D:\test>cd d:\test && cmd /C "set "PYTHONIOENCODING=UTF-8" && set "PYTHONUNBUFFERED=1" && python c:\Users\haozi\.vscode\extensions\ms-python.python-2018.10.1\pythonFiles\experimental\ptvsd_launcher.py --client --host localhost --port 53440 c:\Users\haozi\Desktop\Untitled-1.py "

求大佬帮忙解答!

阅读 7.8k
1 个回答

在命令行输入

C:\> echo %PATH%
或
C:\> set

看输出内容里是否有引号

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题