Simplify explanation for environment creation

This commit is contained in:
2023-11-20 20:45:41 +01:00
parent 1ee0e3350e
commit fc83748ccd
+5 -9
View File
@@ -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) [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. * 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...**.
* Click **Open in integrated Terminal** * Select **Venv** to create a .venv environment.
* Execute the following in the Terminal: * Select the python version.
* A .venv folder should now be created.
```sh * 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**.
python3 -m venv .venv
```
* Open the Command Pallette (Ctrl + Shift + P) and search for **Python: Create Terminal**.
* Execute the following in the Terminal: * Execute the following in the Terminal:
```sh ```sh