VSCode - Select specific Python interpreter

By xngo on November 3, 2020

In Visual Studio Code, you can select different Python interpreter/version for different workspace. Here are the steps on how to select different Python version.

  1. Open View > Command palette ....
  2. Search for Python: Select interpreter.
    VScode - View > Command palette > Search Python interpreter
  3. Select which a specific workspace or the entire workspace.
    VScode - View > Command palette > Search workspace
  4. Select Python interpreter/version.
    VScode - View > Command palette > Search Python interpreter version

About the author

Xuan Ngo is the founder of OpenWritings.net. He currently lives in Montreal, Canada. He loves to write about programming and open source subjects.