Upgrade script now looks for Python path as env var

This commit is contained in:
jeremystretch
2021-07-19 15:13:30 -04:00
parent eb81c88975
commit 2aa663fd6b
3 changed files with 19 additions and 1 deletions

View File

@@ -75,6 +75,13 @@ Once the new code is in place, verify that any optional Python packages required
sudo ./upgrade.sh
```
!!! warning
If the default version of Python is not at least 3.7, you'll need to pass the path to a supported Python version as an environment variable when calling the upgrade script. For example:
```no-highlight
sudo PYTHON=/usr/bin/python3.7 ./upgrade.sh
```
This script performs the following actions:
* Destroys and rebuilds the Python virtual environment