I installed python3.6 on wsl and set my VSC integrated terminal to bash in the settings.json
If I set python.pythonPath: "python3" the VSC then warn me to select python environment and shows only the python installations on Windows. Is there a way I can add the python3 I installed on wsl to the python environment list in VSC or get rid of the warning?
Also, when I try to Run Python File in Terminal, it uses absolute path python3 c:/Users/xxx/Code/test.py which can't open the file in bash since there's no such file or directory. What do I need to change in the VSC settings so it will use python3 /mnt/c/Users/xxx/Code/test.py?
Similar issue reported on github regarding path translation in VSC.
Or is it better if I just run the python file from bash manually to avoid all the incompatibility issue with VSC and WSL?