[49](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L49)$ pip install markdown Pygments pymarkdownlnt
[50](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L50)error: externally-managed-environment
[51](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L51)× This environment is externally managed
[52](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L52)╰─>
[53](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L53) The system-wide python installation should be maintained using the system
[54](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L54) package manager (apk) only.
[55](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L55)
[56](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L56) If the package in question is not packaged already (and hence installable via
[57](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L57) "apk add py3-somepackage"), please consider installing it inside a virtual
[58](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L58) environment, e.g.:
[59](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L59)
[60](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L60) python3 -m venv /path/to/venv
[61](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L61) . /path/to/venv/bin/activate
[62](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L62) pip install mypackage
[63](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L63)
[64](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L64) To exit the virtual environment, run:
[65](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L65)
[66](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L66) deactivate
[67](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L67)
[68](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L68) The virtual environment is not deleted, and can be re-entered by re-sourcing
[69](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L69) the activate file.
[70](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L70)
[71](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L71) To automatically manage virtual environments, consider using pipx (from the
[72](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L72) pipx package).
[73](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L73)note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
[74](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L74)hint: See PEP 668 for the detailed specification.
[75](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L75)
Cleaning up project directory and file based variables
00:00
[76](https://20613-gitlab-2b1ff-web.nws.netways.de/mopolka/training/-/jobs/14#L76)ERROR: Job failed: exit code 1