Update invoke docs (#6263)

- Minimum invoke version is 2.0.0
This commit is contained in:
Oliver 2024-01-17 12:36:24 +11:00 committed by GitHub
parent 75f75ed820
commit 386aa5952c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 4 deletions

View File

@ -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'

View File

@ -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: