Traceback (most recent call last):


 "c:\python27\lib\runpy.py", line 174, in _run_module_as_main

"__main__", fname, loader, pkg_name)


 "c:\python27\lib\runpy.py", line 72, in _run_code

exec code in run_globals


 "C:\Python27\Scripts\ptpython.exe\__main__.py", line 9, in <module>


 "c:\python27\lib\site-packages\ptpython\entry_points\run_ptpython.py", line 71, in run

title='Python REPL (ptpython)')


 "c:\python27\lib\site-packages\ptpython\repl.py", line 294, in embed

startup_paths=startup_paths)


 "c:\python27\lib\site-packages\ptpython\repl.py", line 51, in __init__

super(PythonRepl, self).__init__(*a, **kw)


 "c:\python27\lib\site-packages\ptpython\python_input.py", line 208, in __init__

self.code_styles = get_all_code_styles()


 "c:\python27\lib\site-packages\ptpython\style.py", line 19, in get_all_code_styles

result = dict((name, get_style_by_name(name).styles) for name in get_all_styles())


 "c:\python27\lib\site-packages\ptpython\style.py", line 19, in <genexpr>

result = dict((name, get_style_by_name(name).styles) for name in get_all_styles())


 "c:\python27\lib\site-packages\pygments\styles\__init__.py", line 79, in get_all_styles

for name, _ in find_plugin_styles():


 "c:\python27\lib\site-packages\pygments\plugin.py", line 62, in find_plugin_styles

for entrypoint in iter_entry_points(STYLE_ENTRY_POINT):


 "c:\python27\lib\site-packages\pygments\plugin.py", line 45, in iter_entry_points

import pkg_resources


 "c:\python27\lib\site-packages\pkg_resources\__init__.py", line 3030, in <module>

@_call_aside


 "c:\python27\lib\site-packages\pkg_resources\__init__.py", line 3014, in _call_aside

f(*args, **kwargs)


 "c:\python27\lib\site-packages\pkg_resources\__init__.py", line 3043, in _initialize_master_working_set

working_set = WorkingSet._build_master()


 "c:\python27\lib\site-packages\pkg_resources\__init__.py", line 645, in _build_master

ws = cls()


 "c:\python27\lib\site-packages\pkg_resources\__init__.py", line 638, in __init__

self.add_entry(entry)


 "c:\python27\lib\site-packages\pkg_resources\__init__.py", line 694, in add_entry

for dist in find_distributions(entry, True):


 "c:\python27\lib\site-packages\pkg_resources\__init__.py", line 2010, in find_on_path

path_item_entries = _by_version_descending(os.listdir(path_item))


 "c:\python27\lib\site-packages\pkg_resources\__init__.py", line 1994, in _by_version_descending

return sorted(names, key=_by_version, reverse=True)


 "c:\python27\lib\site-packages\pkg_resources\__init__.py", line 1992, in _by_version

return [packaging.version.parse(part) for part in parts]


 "c:\python27\lib\site-packages\packaging\version.py", line 31, in parse

return Version(version)


 "c:\python27\lib\site-packages\packaging\version.py", line 202, in __init__

raise InvalidVersion("Invalid version: '{0}'".format(version))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-5: ordinal not in range(128)

Traceback (most recent call last):


 "./gather_keys_oauth2.py", line 85, in <module>

profile['user']['fullName']))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 7-8: ordinal not in range(128)
