Extra quoted path in the PATH environment variable in Python #16358
Replies: 7 comments
-
What command did you use to display this list of paths? Where did you run it from? |
Beta Was this translation helpful? Give feedback.
-
I used Action<string> log = message => Console.WriteLine(message);
var path = Environment.GetEnvironmentVariable("PATH");
var pathArray = path.Split(";", StringSplitOptions.None);
foreach( var p in pathArray ){
log(p);
} |
Beta Was this translation helpful? Give feedback.
-
What do you get if you try to get environment variables from your terminal directly, for example using the What is the output when you open the Python REPL in your terminal and try to get environment variables in Python? import os
os.environ |
Beta Was this translation helpful? Give feedback.
-
I did not find the problem using powershell, but I did see the problem using python. But it is not configured in my environment variables. |
Beta Was this translation helpful? Give feedback.
-
Moving your question to GitHub discussions since it's Python-related, and not an extension issue. |
Beta Was this translation helpful? Give feedback.
-
Does this issue occur when all extensions are disabled?: Yes/No
Steps to Reproduce:
when active Python extension. will show this message:
I checked my environment variable configuration and found no
"
characters .Below is the result:
"d:\rmlis6\common"
is not in my environment PATH. I'm very sure.I don’t know where it was read from.
Beta Was this translation helpful? Give feedback.
All reactions