diff --git a/docs/docs/faq.md b/docs/docs/faq.md index 5056fc0c57..e4cf7d7f5c 100644 --- a/docs/docs/faq.md +++ b/docs/docs/faq.md @@ -24,9 +24,12 @@ pip3 install -U -r requirements.txt ### Invoke Version -If the installed version of invoke is too old, users may see error messages during the installation procedure, such as *"'update' did not receive all required positional arguments!"* (or similar). +If the installed version of invoke is too old, users may see error messages during the installation procedure, such as: -As per the [invoke guide](./start/intro.md#invoke), the minimum required version of Invoke is `1.4.0`. +- *'update' did not receive all required positional arguments!* +- *Function has keyword-only arguments or annotations* + +As per the [invoke guide](./start/intro.md#invoke), the minimum required version of Invoke is `2.0.0`. To determine the version of invoke you have installed, run either: @@ -37,7 +40,11 @@ invoke --version python -m invoke --version ``` -If you are running an older version of invoke, ensure it is updated to the latest version. +If you are running an older version of invoke, ensure it is updated to the latest version: + +``` +pip install -U invoke +``` ### No module named 'django' diff --git a/docs/docs/start/intro.md b/docs/docs/start/intro.md index 9a1e63957b..b8a0d56f6b 100644 --- a/docs/docs/start/intro.md +++ b/docs/docs/start/intro.md @@ -66,7 +66,10 @@ InvenTree runs on [Python](https://python.org). InvenTree makes use of the [invoke](https://www.pyinvoke.org/) python toolkit for performing various administrative actions. !!! warning "Invoke Version" - InvenTree requires invoke version 1.4.0 or newer. Some platforms may be shipped with older versions of invoke! + InvenTree requires invoke version 2.0.0 or newer. Some platforms may be shipped with older versions of invoke! + +!!! tip "Updating Invoke" + To update your invoke version, run `pip install -U invoke` To display a list of the available InvenTree administration actions, run the following commands from the top level source directory: