

Other aspects of environments are found in the following articles:įor any given project, you can select a specific environment rather than use the default.įor details on creating and using virtual environments for Python projects, see Use virtual environments.

In Visual Studio on Windows, you use the Python Environments window, as described in this article, to manage environments and select one as the default for new projects. These components together determine valid language constructs and syntax, operating-system functionality that you can access, and packages you can use. An environment consists of an interpreter, a library (typically the Python Standard Library), and a set of installed packages. Applies to: Visual Studio Visual Studio for Mac Visual Studio CodeĪ Python environment is a context in which you run Python code and includes global, virtual, and conda environments.
