I am using VS Code on Windows 10 with the Windows Linux Subsystem & Ubuntu 18.04.
What I am attempting to do is use VS Code as a python development environment with bash as its terminal and the python3 interpreter installed on the Ubuntu system as its default python executable.
In my User configuration I have:
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\bash.exe"
set, and under Ubuntu python3 is installed and python is an alias to it.
When I attempt to execute a python file I get the following error:
/usr/bin/python3: can't open file 'c:/Users/R ... /test.py': [Errno 2] No such file or directory
My sense is I need to get VS Code passing the path relative to the Linux Subsystem rather than to Windows C:\ to the interpreter. How can I do this?
/mnt/c/Windowsinstead ofC:\Windows.