From fc83748ccd2a7f84c644ecc02183ab6d2bc70956 Mon Sep 17 00:00:00 2001 From: Michel Bats Date: Mon, 20 Nov 2023 20:45:41 +0100 Subject: [PATCH] Simplify explanation for environment creation --- readme.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/readme.md b/readme.md index 9d35d26..418f14f 100644 --- a/readme.md +++ b/readme.md @@ -10,15 +10,11 @@ This is mainly needed to get no code errors and make use of IntelliSense. [Based on the information on this support topic on GitHub.](https://github.com/pybricks/support/issues/10) -* Click the right mouse button under the last file in the explorer pane. -* Click **Open in integrated Terminal** -* Execute the following in the Terminal: - - ```sh - python3 -m venv .venv - ``` - -* Open the Command Pallette (Ctrl + Shift + P) and search for **Python: Create Terminal**. +* Open the Command Pallette (from the menu bar: open Help → Show All Commands or just press Ctrl + Shift + P) and search for **Python: Create Environment...**. +* Select **Venv** to create a .venv environment. +* Select the python version. +* A .venv folder should now be created. +* Open the Command Pallette (from the menu bar: open Help → Show All Commands or just press Ctrl + Shift + P) again and search for **Python: Create Terminal**. * Execute the following in the Terminal: ```sh