Traceback (most recent call last):


 "/usr/lib/python3.5/site-packages/gunicorn/workers/sync.py", line 135, in handle

self.handle_request(listener, req, client, addr)


 "/usr/lib/python3.5/site-packages/gunicorn/workers/sync.py", line 182, in handle_request

resp.write(item)


 "/usr/lib/python3.5/site-packages/gunicorn/http/wsgi.py", line 342, in write

self.send_headers()


 "/usr/lib/python3.5/site-packages/gunicorn/http/wsgi.py", line 338, in send_headers

util.write(self.sock, util.to_bytestring(header_str, "ascii"))


 "/usr/lib/python3.5/site-packages/gunicorn/util.py", line 511, in to_bytestring

return value.encode(encoding)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 210-211: ordinal not in range(128)

Traceback (most recent call last):

 "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 223, in main
status = self.run(options, args)

 "/usr/local/lib/python2.7/dist-packages/pip/commands/install.py", line 280, in run
requirement_set.prepare_files(finder)

 "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 317, in prepare_files
functools.partial(self._prepare_file, finder))

 "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 304, in _walk_req_to_install
more_reqs = handler(req_to_install)

 "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 483, in _prepare_file
abstract_dist.prep_for_dist()

 "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 123, in prep_for_dist
self.req_to_install.run_egg_info()

 "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py", line 368, in run_egg_info
self.setup_py, self.name,

 "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py", line 339, in setup_py
import setuptools
# noqa

 "/usr/local/lib/python2.7/dist-packages/setuptools/__init__.py", line 11, in <module>
from setuptools.extension import Extension

 "/usr/local/lib/python2.7/dist-packages/setuptools/extension.py", line 8, in <module>
from .dist import _get_unpatched

 "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 21, in <module>
packaging = pkg_resources.packagingAttributeError: 'module' object has no attribute 'packaging'