Can't use python3
See original GitHub issueI’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:
{
"python.jediEnabled": false,
"python.pythonPath": "/usr/local/bin/python3",
"workbench.colorTheme": "Solarized Light",
"code-runner.runInTerminal": true,
"code-runner.defaultLanguage": "python",
"code-runner.clearPreviousOutput": true
}
Doing
"code-runner.executorMap":
{
"python": "python3"
}
isn’t working. Any help please?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Cmd Windows "python" command works, but "python3" doesn ...
TL;DR: python3 is not a valid command on Windows, regardless of the distribution that it comes with (Anaconda in your case). Share.
Read more >Python 3 is not recognized as an external or internal command
Python 3 Course: https://bit.ly/ python3 -mastery Fixed: Python 3 ... Full Stack Computer Vision Tutorial with Tensorflow, Python, Tensorflow.
Read more >Python 3 Installation & Setup Guide
The first step to getting started with Python is to install it on your machine. In this tutorial, you'll learn how to check...
Read more >Why doesn't python 3.10.0 show up on PowerShell?
When I type “python3”, it shows some kind of “not found” message". If I can, I will add screenshots and my machine's DXDiag...
Read more >How to Install Pip on Windows - ActiveState
7.9 or Python 3 >= v3.4) come prepackaged with pip by default. Pip is also included in the virtual environments created by virtualenv...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
hey there, i think u can try simply add “code-runner.executorMap.python”: “python3 -u” to the user settings and it should work. cheers!