Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In newer versions of Ubuntu running `pip3 install kcli` results in the following error: ``` error: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install. ... ``` Solutions seem to be either use a virtual environment, install the package with apt (which isn't available for us as we need), or use pipx if installing an application, which we are. This attempts to use the logic to install with pipx, including a shell reload at the end of the script to force the PATH to be updated Signed-off-by: stevenhorsman <[email protected]>
- Loading branch information