Used easy script with no success on 3 fresh systems (above). Same error with bench every time.
"INFO:bench.utils:./env/bin/pip install -q -e ./apps/erpnext --no-cache-dir",
"/home/frappe/frappe-bench/env/lib/python3.5/site-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.23) or chardet (3.0.4) doesn't match a supported version!",
" RequestsDependencyWarning)",
"Traceback (most recent call last):",
" File \"/usr/lib/python3.5/runpy.py\", line 193, in _run_module_as_main",
" \"__main__\", mod_spec)",
" File \"/usr/lib/python3.5/runpy.py\", line 85, in _run_code",
" exec(code, run_globals)",
" File \"/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py\", line 97, 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.5/site-packages/click/core.py\", line 722, in __call__",
" return self.main(*args, **kwargs)",
" File \"/home/frappe/frappe-bench/env/lib/python3.5/site-packages/click/core.py\", line 676, in main",
" _verify_python3_env()",
" File \"/home/frappe/frappe-bench/env/lib/python3.5/site-packages/click/_unicodefun.py\", line 118, in _verify_python3_env",
" 'for mitigation steps.' + extra)",
"RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment. Consult http://click.pocoo.org/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": "('installing', u'erpnext')",
"stdout_lines": [
"('installing', u'erpnext')"
]
}
to retry, use: --limit @/tmp/.bench/playbooks/site.retry
PLAY RECAP ******************************************************************************************************************
localhost : ok=79 changed=27 unreachable=0 failed=1
Traceback (most recent call last):
File "install.py", line 417, in <module>
install_bench(args)
File "install.py", line 122, in install_bench
run_playbook('site.yml', sudo=True, extra_vars=extra_vars)
File "install.py", line 338, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, 'playbooks'))
File "/usr/lib/python2.7/subprocess.py", line 186, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ansible-playbook', '-c', 'local', 'site.yml', '-e', '@/tmp/extra_vars.json', '-vvvv', '--become', '--become-user=frappe']' returned non-zero exit status 2
upd: verbose log
python install.py --production --user frappe --verbose