BLOG @ MBIOQBLOG @ MBIOQ

Web 全沾(渣)工程师一枚。博客文章以 Web 和 Linux 为主,偶尔也会发发日常的样子。

the environment variable path seems to have some paths containing characters

VS code 在运行py程序时报错了,错误如下:
44563-rpgmogjleb.png

The environment variable ‘Path’ seems to have some paths containing
characters (‘;’, ‘“‘ or ‘;;’). 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.

说环境变量有问题,如果你是 Windows10 的话,如图:

20181114142349.png

然而根本找不到所谓的';', '"' or ';;'

应该点击编辑文本,默认的那个编辑视图是不显示';' 或者'"'的,复制出来搜索一下看有没有';;'啥的,用户环境变量没有就去看看系统环境变量

86002-ldybls42xnf.png

copy 后粘贴到 notepad 上 搜一下就能发现问题了。如图,笔者多了个‘"’。 ok, 问题解决了。

60007-hhaqku6rpnp.png

本原创文章未经允许不得转载 | 当前页面:BLOG @ MBIOQ » the environment variable path seems to have some paths containing characters

评论