![]() On the search bar, type Remote Development and install it.On the search bar, type Python and install it.Click the extension icon or type Ctrl+Shift+X to open the extension windows.Pylance is optional but highly recommended, which provides fast and feature-rich language support for Python. VS Code has thousands of thousand extensions the Python and Remote Development extensions are the minima for Python development on Windows and remote platforms. Double click the downloaded binary, VSCodeUserSetup-圆4-1.52.1.exe, to install.When the tutorial is written, the latest version is 1.52. Since Windows 10 is the host VS Code runs in this tutorial, we need to install VS Code on the Windows host. The Python extension supports all of the linters above. venv for creating a virtual environment.Ubuntu 20.04 (for WSL and remote Linux)Ī typical Python development includes the virtual environment, linting, test, and debug.Visual Studio Code 1.52 with extensions.The Python project has the following layout: This tutorial uses a simple Python project to demonstrates the VS Code setup for Python development on Windows 10, Windows Subsystem for Linux, remote Linux, and Raspbian on Raspberry Pi. Step 2: Create a Virtual Environment and the Project.Setup Python Development Environment with WSL.Setup Python Development Environment on Raspberry Pi via SSH.Step 3: Connect to the Remote Linux Host. ![]() Step 1: Install OpenSSH client on the Windows 10 Host. ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |