From f1dbb9b8a00bad7b5d98e540aef80f2716bcb210 Mon Sep 17 00:00:00 2001 From: eeintech Date: Tue, 20 Oct 2020 09:18:57 -0500 Subject: [PATCH] Added admonition to install virtual environment on Windows --- docs/start/install.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/start/install.md b/docs/start/install.md index f4b2837..8778f7d 100644 --- a/docs/start/install.md +++ b/docs/start/install.md @@ -51,7 +51,7 @@ InvenTree can be installed and run from the Windows command line, assuming the f !!! info "WSL" - Alternatively, if you are running under the Windows operating system you can install and run InvenTree using the WSL (Windows Subsystem for Linux) framework. Running under WSL provides a Linux compatible layer which simplifies InvenTree installation. + Alternatively, if you are running under the Windows operating system you can install and run InvenTree using the [WSL (Windows Subsystem for Linux)](https://docs.microsoft.com/en-us/windows/wsl/install-win10) framework. Running under WSL provides a Linux compatible layer which simplifies InvenTree installation. ### FreeBSD @@ -82,6 +82,15 @@ python3 -m venv inventree-env source inventree-env/bin/activate ``` +??? note "Virtual Environment on Windows" + To create and activate a virtual environment in Windows, run the following commands: + ``` + py -m venv inventree-env + .\inventree-env\Scripts\activate + ``` + + Refer to the [official Python documentation](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/) to setup a virtual environment on Windows. + This will place the current shell session inside a virtual environment - the terminal should display the ``(inventree-env)`` prefix. !!! warning "Activate virtual environment"