Installation: finalize fails?
After successfully running python manage.py migrate
followed by removing the comment sign before USE_TZ = False
in /opt/aura/steering/pv/local_settings.py
and running python manage.py loaddata program/fixtures/*.yaml
, I tried to finalize the installation:
(python) auraweb@auraWeb:/opt/aura/meta$ sudo ./install-aura.sh finalize
Install Arguments: finalize
Post-installation steps requested.
Performing post-install steps...
Switching to Python Virtual Environment...
./install-aura.sh: 6: ./script/post-install.sh: source: not found
Done.
Creating Aura Superuser
Traceback (most recent call last):
File "manage.py", line 10, in <module>
from django.core.management import execute_from_command_line
ImportError: No module named django.core.management
Done.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++ Aura Installation Part 2/2 completed successfully! +++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++ Successfully finished post-installation steps! +++
This is kind of obvious as sudo
is "beaming" me outside of my environment and runs the system python which is Python 2.7 (gasp):
(python) auraweb@auraWeb:/opt/aura/meta$ sudo python --version
Python 2.7.16
I am starting to wonder if following the installation instructions is a good idea? Especially in the light of https://gitlab.servus.at/aura/meta/-/issues/4#note_1574 ...