[TUTOR] [Plugin] Unable to install webui

Hello Community,

I installed tutor on Debian VM from Binary release (as explained from Installing Tutor — Tutor documentation)? Everything looks working well.

I tried to install the plugin webui but it does’t work. I have this issue I doesn’t really understand :slight_smile:
myuser@myvm:~$ tutor plugins update
:warning: Failed to enable plugin ‘indigo’: plugin ‘indigo’ is not installed.
Fetching index https://overhang.io/tutor/main/redwood/plugins.yml
Plugin index local cache: /home/soc-admin/.local/share/tutor/env/plugins/index/c ache.yml

myuser@myvm:~$ tutor plugins search
:warning: Failed to enable plugin ‘indigo’: plugin ‘indigo’ is not installed.
NAME STATUS DESCRIPTION
android installed Build an Android mobile application for your Ope n edX platform.
cairn not installed Scalable, real-time analytics for Open edX.
credentials not installed Integrate the Credentials application, which sup ports course and program certificates.
discovery installed Integrate the Open edX Course Discovery applicat ion.
ecommerce installed E-commerce plugin to sell course products on Ope n edX.
forum installed Add discussion forum to your Open edX platform.
indigo not installed A beautiful, blue theme for Open edX.
jupyter not installed Run Jupyter notebooks right in your LMS.
mfe :white_check_mark: enabled Easy integration of custom microfrontends with y our Open edX platform.
minio installed Scalable object storage for Open edX.
notes installed Add student notes to the Open edX courseware.
webui installed Manage your Tutor-powered Open edX installation from the browser.
xqueue installed Xqueue external grading system for your Open edX platform.

myuser@myvm:~$ tutor plugins install webui
:warning: Failed to enable plugin ‘indigo’: plugin ‘indigo’ is not installed.
Installing pip requirements:

webui

tutor-webui>=18.0.0,<19.0.0
pip install --requirement /tmp/tutor-reqs-ofvhutc0.txt
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.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.11/README.venv for more information.

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.
hint: See PEP 668 for the detailed specification.
Error: Command failed with status 1: pip install --requirement /tmp/tutor-reqs-o

Have some faced the same issue o understand why it doesn’t work?

besat regard,

Debian encourage you to use virtual environment.
About installing from binary release, I’m advise you to use Python package installation method with virtual environment. First post of this thread contains link to decent step by step installation guide, and other posts give explanation about venv.