Easy Install Failed on Ubuntu 18.04 LTS

I have tried following these steps here:

I’m letting it execute now. I have added erpnext as a new user to the system, added it to the sudoers list, and it just failed.

~$ sudo -H python3 install.py --production --site localhost --user erpnext --mysql-root-password 12345 --admin-password 12345 --bench-name testbench
[sudo] password for erpnext:
Logs are saved under /tmp/logs/easy-install__2020-02-10__21-55.log
Checking System Compatibility…
ubuntu 18 is compatible!
curl already installed!
wget already installed!
git already installed!
pip3 already installed!
ERROR: launchpadlib 1.10.6 requires testresources, which is not installed.
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note
that the implicit localhost does not match ‘all’
Input MySQL and Frappe Administrator passwords:
Passwords saved at ~/passwords.txt
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note
that the implicit localhost does not match ‘all’
[WARNING]: Could not find aptitude. Using apt-get instead
[WARNING]: Consider using the get_url or uri module rather than running
‘curl’. If you need to use command because get_url or uri is insufficient you
can add ‘warn: false’ to this command task or set ‘command_warnings=False’ in
ansible.cfg to get rid of this message.
Traceback (most recent call last):
File “install.py”, line 414, in
install_bench(args)
File “install.py”, line 230, in install_bench
run_playbook(‘site.yml’, sudo=True, extra_vars=extra_vars)
File “install.py”, line 351, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’), stdout=log_stream, stderr=sys.stderr)
File “/usr/lib/python3.6/subprocess.py”, line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘ansible-playbook’, ‘-c’, ‘local’, ‘site.yml’, ‘-vvvv’, ‘-e’, ‘@/tmp/extra_vars.json’, ‘–become’, ‘–become-user=erpnext’]’ returned non-zero exit status 2.

It looks like the same issue popped up here previously.
https://discuss.frappe.io/t/install-failed-ubuntu-18-04/56898/6[https://discuss.frappe.io/t/install-failed-ubuntu-18-04/56898/6](https://discuss.frappe.io/t/install-failed-ubuntu-18-04/56898/6)