mirror of
https://github.com/inventree/inventree-docs.git
synced 2025-04-28 05:36:46 +00:00
Merge pull request #25 from eeintech/windows_venv
Added admonition to install virtual environment on Windows
This commit is contained in:
commit
0dce6a1103
@ -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 <a href="https://docs.microsoft.com/en-us/windows/wsl/install-win10">WSL (Windows Subsystem for Linux)</a> 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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user