Easy install error ubuntu 18.04

i get this error when trying to install erpnext using easy install on ubuntu 18.04

TASK [bench : Create a new site] ***********************************************
task path: /tmp/.bench/bench/playbooks/roles/bench/tasks/setup_erpnext.yml:18
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /var/tmp `"&& mkdir /var/tmp/ansible-tmp-1619302661.9245393-788-197787124091033 && echo ansible-tmp-1619302661.9245393-788-197787124091033="` echo /var/tmp/ansible-tmp-1619302661.9245393-788-197787124091033 `" ) && sleep 0'
Using module file /usr/local/lib/python3.6/dist-packages/ansible/modules/commands/command.py
<127.0.0.1> PUT /home/frappe/.ansible/tmp/ansible-local-297895722yc_y/tmp7qj29wx8 TO /var/tmp/ansible-tmp-1619302661.9245393-788-197787124091033/AnsiballZ_command.py
<127.0.0.1> EXEC /bin/sh -c 'setfacl -m u:frappe:r-x /var/tmp/ansible-tmp-1619302661.9245393-788-197787124091033/ /var/tmp/ansible-tmp-1619302661.9245393-788-197787124091033/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /var/tmp/ansible-tmp-1619302661.9245393-788-197787124091033/ /var/tmp/ansible-tmp-1619302661.9245393-788-197787124091033/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'chown frappe /var/tmp/ansible-tmp-1619302661.9245393-788-197787124091033/ /var/tmp/ansible-tmp-1619302661.9245393-788-197787124091033/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -n  -u frappe /bin/sh -c '"'"'echo BECOME-SUCCESS-ntqfvpvvgowhjbxyjkiulaztbnqgflbl ; /usr/bin/python3 /var/tmp/ansible-tmp-1619302661.9245393-788-197787124091033/AnsiballZ_command.py'"'"' && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /var/tmp/ansible-tmp-1619302661.9245393-788-197787124091033/ > /dev/null 2>&1 && sleep 0'
fatal: [localhost]: FAILED! => {
"changed": true,
"cmd": [
    "bench",
    "new-site",
    "site1.local",
    "--admin-password",
    "*******",
    "--mariadb-root-password",
    "*******"
],
"delta": "0:00:01.915110",
"end": "2021-04-25 00:17:44.071080",
"invocation": {
    "module_args": {
        "_raw_params": "bench new-site site1.local --admin-password 'Partnerscan1' --mariadb-root-password 'Partnerscan1'",
        "_uses_shell": false,
        "argv": null,
        "chdir": "/home/frappe/frappe-bench",
        "creates": null,
        "executable": null,
        "removes": null,
        "stdin": null,
        "stdin_add_newline": true,
        "strip_empty_ends": true,
        "warn": true
    }
},
"msg": "non-zero return code",
"rc": 1,
"start": "2021-04-25 00:17:42.155970",
"stderr": "Traceback (most recent call last):\n  File \"/usr/lib/python3.6/runpy.py\", line 193, in _run_module_as_main\n    \"__main__\", mod_spec)\n  File \"/usr/lib/python3.6/runpy.py\", line 85, in _run_code\n    exec(code, run_globals)\n  File \"/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py\", line 99, in <module>\n    main()\n  File \"/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py\", line 18, in main\n    click.Group(commands=commands)(prog_name='bench')\n  File \"/home/frappe/frappe-bench/env/lib/python3.6/site-packages/click/core.py\", line 764, in __call__\n    return self.main(*args, **kwargs)\n  File \"/home/frappe/frappe-bench/env/lib/python3.6/site-packages/click/core.py\", line 696, in main\n    _verify_python3_env()\n  File \"/home/frappe/frappe-bench/env/lib/python3.6/site-packages/click/_unicodefun.py\", line 124, in _verify_python3_env\n    ' mitigation steps.' + extra\nRuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment. Consult https://click.palletsprojects.com/en/7.x/python3/ for mitigation steps.\n\nThis system supports the C.UTF-8 locale which is recommended.\nYou might be able to resolve your issue by exporting the\nfollowing environment variables:\n\n    export LC_ALL=C.UTF-8\n    export LANG=C.UTF-8",
"stderr_lines": [
    "Traceback (most recent call last):",
    "  File \"/usr/lib/python3.6/runpy.py\", line 193, in _run_module_as_main",
    "    \"__main__\", mod_spec)",
    "  File \"/usr/lib/python3.6/runpy.py\", line 85, in _run_code",
    "    exec(code, run_globals)",
    "  File \"/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py\", line 99, in <module>",
    "    main()",
    "  File \"/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py\", line 18, in main",
    "    click.Group(commands=commands)(prog_name='bench')",
    "  File \"/home/frappe/frappe-bench/env/lib/python3.6/site-packages/click/core.py\", line 764, in __call__",
    "    return self.main(*args, **kwargs)",
    "  File \"/home/frappe/frappe-bench/env/lib/python3.6/site-packages/click/core.py\", line 696, in main",
    "    _verify_python3_env()",
    "  File \"/home/frappe/frappe-bench/env/lib/python3.6/site-packages/click/_unicodefun.py\", line 124, in _verify_python3_env",
    "    ' mitigation steps.' + extra",
    "RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment. Consult https://click.palletsprojects.com/en/7.x/python3/ for mitigation steps.",
    "",
    "This system supports the C.UTF-8 locale which is recommended.",
    "You might be able to resolve your issue by exporting the",
    "following environment variables:",
    "",
    "    export LC_ALL=C.UTF-8",
    "    export LANG=C.UTF-8"
],
"stdout": "",
"stdout_lines": []
}

PLAY RECAP *********************************************************************
localhost                  : ok=72   changed=15   unreachable=0    failed=1    skipped=67   rescued=0    ignored=0

Traceback (most recent call last):
  File "install.py", line 498, in <module>
install_bench(args)
  File "install.py", line 279, in install_bench
run_playbook('site.yml', sudo=True, extra_vars=extra_vars)
  File "install.py", line 414, in run_playbook
success = subprocess.check_call(args, cwd=playbooks_folder, 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=frappe']' returned non-zero exit status 2.

I run flowing command as say but still the same issue

export LC_ALL=C.UTF-8
export LANG=C.UTF-8

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.