Closed monsieurludo closed 6 years ago
hey there, i think u can try simply add "code-runner.executorMap.python": "python3 -u" to the user settings and it should work. cheers!
@creeptonik , did you have Shebang for your python file?
hey there, i think u can try simply add "code-runner.executorMap.python": "python3 -u" to the user settings and it should work. cheers!
It says "Unknown configuration setting"
@formulahendry Shebang? Not sure...
@creeptonik , could you have a screenshot of your output and your python file?
Here you go, it's the same error as if I was running python 2 ('No module named requests'):
Please set code-runner.respectShebang
as false
The above suggestion also fixed my issue, would be nice if python 3 was enabled by default, as python 2 will be unsupported soon anyways
Please set
code-runner.respectShebang
asfalse
Hello, this still doesn't work for me, do you have any ideas? Thanks!
Python: Select Interpreter menu. Look for " Python X.X.X " on the bottom left of your screen. Look for "Python X.X.X". This is the currently detected/configured version of Python in your project, and clicking it brings you to the interpreter menu to change the Python version you're using check here
I've followed all recommendations and questions asked around and have downloaded the latest version of vs but when I set python to use python3 instead of 2 it just doesn't work. My config:
Doing
isn't working. Any help please?