install & systemd: Mention how to setup with a virtualenv

This commit is contained in:
2023-04-29 10:45:42 +02:00
committed by Val Lorentz
parent 7cc6b1f9f8
commit ea060a65d5
2 changed files with 22 additions and 0 deletions

View File

@ -89,6 +89,12 @@ Then Limnoria itself::
If you have an error saying ``No module named pip``, install ``pip`` using
your package manager (the package is usually named ``python3-pip``).
If you have an error about ``externally-managed-environment``, you need to setup
a virtualenv first, then re-run the commands above::
python3 -m venv /opt/venvs/limnoria # creates a virtualenv at the given path
. /opt/venvs/limnoria/bin/activate # enables the virtualenv in the current shell
Local installation (without root access)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -109,6 +115,12 @@ You might need to add $HOME/.local/bin to your PATH.::
If you have an error saying ``No module named pip``, install ``pip`` using this
guide: https://pip.pypa.io/en/stable/installing/
If you have an error about ``externally-managed-environment``, you need to setup
a virtualenv first, then re-run the commands above::
python3 -m venv ~/.venvs/limnoria # creates a virtualenv at the given path
. ~/.venvs/limnoria/bin/activate # enables the virtualenv in the current shell
.. _initial-configuration:
Configuration