Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Set up your Python development environment on Windows
Get your Python environment ready on Windows in minutes — install from the command line with winget or set it up manually. You'll need the following:
- Python – The current stable Python runtime (3.14 or later)
- Visual Studio Code – A lightweight, powerful code editor
- Python extension for Visual Studio Code – Adds Python language support, debugging, linting, and more
Open PowerShell in Windows Terminal and install Python:
winget install Python.Python.3.14Install Visual Studio Code:
winget install Microsoft.VisualStudioCodeClose and reopen PowerShell, then verify Python is installed:
python --versionOpen VS Code and install the Python extension from the VS Code Marketplace.
You're now ready for Python development.
Frequently Asked Questions
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Windows developer
Feedback
Was this page helpful?
