I am following these instructions to set up Airnotifier and push notifications in a branded app. Everything works like a charm locally, but it does not on an AWS EC2 Ubuntu 20.04 (Moodle 3.10.1).
I start the Airnotifier app by running
sudo pipenv run ./app.py but 'tornado' is not found (see below). So I ran
python3 -m pip install tornado and it's been successfully installed. However, the app is not working yet.
Any idea on how to proceed?
Traceback (most recent call last):
File "./app.py", line 32, in <module>
from pushservices.bootstrap import init_messaging_agents
File "/home/ubuntu/airnotifier/pushservices/bootstrap.py", line 2, in <module>
from .apns import *
File "/home/ubuntu/airnotifier/pushservices/apns.py", line 5, in <module>
from util import json_encode
File "/home/ubuntu/airnotifier/util.py", line 37, in <module>
ModuleNotFoundError: No module named 'tornado'