I am trying to access the terminal from https://domain:3737 and this happens when I have SSH’d into the server and used sudo su tutor to run any command such as tutor local quickstart. I installed Tutor using the one click install on AWS.
Below is the stacktrace:
Traceback (most recent call last):
File "/usr/local/bin/tutor", line 5, in <module>
from tutor.commands.cli import main
File "/home/tutor/.local/lib/python3.8/site-packages/tutor/commands/cli.py", line 9, in <module>
from .android import android
File "/home/tutor/.local/lib/python3.8/site-packages/tutor/commands/android.py", line 3, in <module>
from .. import config as tutor_config
File "/home/tutor/.local/lib/python3.8/site-packages/tutor/config.py", line 4, in <module>
from . import env
File "/home/tutor/.local/lib/python3.8/site-packages/tutor/env.py", line 10, in <module>
from . import plugins
File "/home/tutor/.local/lib/python3.8/site-packages/tutor/plugins/__init__.py", line 11, in <module>
from . import v0, v1
File "/home/tutor/.local/lib/python3.8/site-packages/tutor/plugins/v0.py", line 11, in <module>
from tutor.__about__ import __app__
ImportError: cannot import name '__app__' from 'tutor.__about__' (/home/tutor/.local/lib/python3.8/site-packages/tutor/__about__.py)
Your installation of tutor is broken, as indicated by the fact that it refers to ACTIVATE_CMS which is an old setting. I have no idea how you got there. I suggest you uninstall tutor and install it again:
pip uninstall tutor
sudo pip uninstall tutor
which tutor # this should return nothing. if it does, you should delete the corresponding location
pip freeze | grep tutor # this should return nothing. if it does, run `pip uninstall tutor` again.
pip install --uprade tutor[full]