Install script fails on Debian 9 [2019-07-29]

Thanks @trentmu, this resolved the issue.

Had a second issue

Traceback (most recent call last):",
		  File \"/usr/local/bin/bench\", line 11, in <module>
			load_entry_point('bench', 'console_scripts', 'bench')()
		  File \"/home/frappe/.bench/bench/cli.py\", line 40, in cli
			bench_command()
		  File \"/usr/local/lib/python3.5/dist-packages/click/core.py\", line 764, in __call__
			return self.main(*args, **kwargs)
		  File \"/usr/local/lib/python3.5/dist-packages/click/core.py\", line 696, in main
			_verify_python3_env()
		  File \"/usr/local/lib/python3.5/dist-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

This actually resolved as it says with (not using sudo)

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

Now it works like a charm!

1 Like