Skip to content

Commit

Permalink
Fix a fypo in the FAQ
Browse files Browse the repository at this point in the history
  • Loading branch information
brettcannon committed Jul 2, 2024
1 parent 8738a42 commit e2fd46b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ If you're using [pyenv](https://github.com/pyenv/pyenv) to manage your Python ve

## How do I disable the automatic search/usage of the `.venv` virtual environment?

If you look at the [diagram of how the Launcher chooses what Python interpreter/environment to use](index.md#diagram-of-how-the-python-launcher-selects-a-python-interpreter), you will notice that the `.venv` virtual environment is only selected if you **don't** specify a verison restriction, e.g. `py -3` disables the search.
If you look at the [diagram of how the Launcher chooses what Python interpreter/environment to use](index.md#diagram-of-how-the-python-launcher-selects-a-python-interpreter), you will notice that the `.venv` virtual environment is only selected if you **don't** specify a version restriction, e.g. `py -3` disables the search.

The thinking behind this is that if you want a specific Python version then you aren't interested in a specific virtual environmen., Thus the search for `.venv` is skipped when **any** specific version is requested.

0 comments on commit e2fd46b

Please sign in to comment.