UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 19: ordinal not in range(128)

Hello everyone, I’m encounter from the error below while installing frappe/bench on my ubuntu 14.04 machine… I’m using python 2.7.

git clone https://github.com/frappe/bench bench-repo

and when I execute this command.

sudo pip install -e bench-repo

During its middle execution, I get the following exception:

Exception:
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/pip/basecommand.py”, line 122, in main
status = self.run(options, args)
File “/usr/lib/python2.7/dist-packages/pip/commands/install.py”, line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File “/usr/lib/python2.7/dist-packages/pip/req.py”, line 1198, in prepare_files
do_download,
File “/usr/lib/python2.7/dist-packages/pip/req.py”, line 1376, in unpack_url
self.session,
File “/usr/lib/python2.7/dist-packages/pip/download.py”, line 582, in unpack_http_url
unpack_file(temp_location, location, content_type, link)
File “/usr/lib/python2.7/dist-packages/pip/util.py”, line 643, in unpack_file
untar_file(filename, location)
File “/usr/lib/python2.7/dist-packages/pip/util.py”, line 574, in untar_file
path = os.path.join(location, fn)
File “/usr/lib/python2.7/posixpath.py”, line 80, in join
path += ‘/’ + b
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xc5 in position 19: ordinal not in range(128)

Storing debug log for failure in /home/erpnextuser/.pip/pip.log

Please help me out as soon as possible! Thank You

It looks like you have a non ASCII character somewhere in your install. Possibly in a path name. Python 2.7 isn’t happy with non advise chars during the installation. With python 3 this appears to be less of a problem