Hello! I have been trying to fresh-install the server with MySQL on Ubuntu.
I’m on the step of installing requirements. I’ve copy/pasted the command “sudo pip3 install --timeout=3600 django==4.2.* future==0.18.* mysqlclient==2.1.*
pymysql pillow==10.2.* pylibmc captcha==0.5.* markupsafe==2.0.1 jinja2 sqlalchemy==2.0.18
psd-tools django-pylibmc django_simple_captcha==0.6.* djangosaml2==1.5.* pysaml2==7.2.* pycryptodome==3.16.* cffi==1.15.1 lxml python-ldap==3.4.3” and I’m getting the 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.
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.12/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."
For reference, I’ve been following the reference guide titled " Installation of Seafile Server Community Edition with MySQL/MariaDB"
I originally didn’t see this error and just continued on setup, however, the step in which we creating the admin email perperutally failed to run (presumably because of this issue).
I have tried ignoring the warning, including the flag " --break-system-packages", which just creates more issues, reinstalling everything, amongst other attempts and I can’t seem to solve it. Where am I going wrong? What other information could I provide?