| 1 | [externally-managed] |
| 2 | Error= |
| 3 | The system-wide python installation should be maintained using the system |
| 4 | package manager (apk) only. |
| 5 | |
| 6 | If the package in question is not packaged already (and hence installable via |
| 7 | "apk add py3-somepackage"), please consider installing it inside a virtual |
| 8 | environment, e.g.: |
| 9 | |
| 10 | python3 -m venv /path/to/venv |
| 11 | . /path/to/venv/bin/activate |
| 12 | pip install mypackage |
| 13 | |
| 14 | To exit the virtual environment, run: |
| 15 | |
| 16 | deactivate |
| 17 | |
| 18 | The virtual environment is not deleted, and can be re-entered by re-sourcing |
| 19 | the activate file. |
| 20 | |
| 21 | To automatically manage virtual environments, consider using pipx (from the |
| 22 | pipx package). |