Traceback (most recent call last):


 "<string>", line 1, in <module>


 "/usr/local/lib/python3.5/site-packages/powerline/vim.py", line 15, in <module>

from powerline.bindings.vim import vim_get_func, vim_getvar, get_vim_encoding, python_to_vim


 "/usr/local/lib/python3.5/site-packages/powerline/bindings/vim/__init__.py", line 44, in <module>

vim_encoding = get_vim_encoding()


 "/usr/local/lib/python3.5/site-packages/powerline/bindings/vim/__init__.py", line 25, in get_vim_encoding

return vim.options['encoding'].decode('ascii') or 'ascii'
AttributeError: 'str' object has no attribute 'decode'

Traceback (most recent call last):


 "/opt/stackstorm/runners/python_runner/python_runner/python_action_wrapper.py", line 21, in <module>

import traceback


 "/usr/local/lib/python3.6/traceback.py", line 5, in <module>

import linecache


 "/opt/stackstorm/virtualenvs/nornir_scripts/lib/python3.6/linecache.py", line 11, in <module>

import tokenize


 "/opt/stackstorm/virtualenvs/nornir_scripts/lib/python3.6/tokenize.py", line 33, in <module>

import re


 "/opt/stackstorm/virtualenvs/nornir_scripts/lib/python3.6/re.py", line 142, in <module>

class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
