Traceback (most recent call last):

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

 "/home/fedora/.vim/bundle/jedi-vim/initialize.py", line 22, in <module>
import jedi_vim

 "/home/fedora/.vim/bundle/jedi-vim/jedi_vim.py", line 12, in <module>
import jedi

 "/usr/lib/python2.7/site-packages/jedi/__init__.py", line 41, in <module>
from jedi.api import Script, Interpreter, NotFoundError, set_debug_function

 "/usr/lib/python2.7/site-packages/jedi/api/__init__.py", line 16, in <module>
from jedi.parser import Parser, load_grammar

 "/usr/lib/python2.7/site-packages/jedi/parser/__init__.py", line 21, in <module>
from jedi.parser import tree as pt

 "/usr/lib/python2.7/site-packages/jedi/parser/tree.py", line 39, in <module>
from jedi import cache

 "/usr/lib/python2.7/site-packages/jedi/cache.py", line 32, in <module>
from jedi import debug

 "/usr/lib/python2.7/site-packages/jedi/debug.py", line 17, in <module>
init()

 "/usr/lib/python2.7/site-packages/colorama/initialise.py", line 37, in init
wrap_stream(orig_stdout, convert, strip, autoreset, wrap)

 "/usr/lib/python2.7/site-packages/colorama/initialise.py", line 76, in wrap_stream
convert=convert, strip=strip, autoreset=autoreset)

 "/usr/lib/python2.7/site-packages/colorama/ansitowin32.py", line 67, in __init__
strip = conversion_supported or (not wrapped.closed and not is_a_tty(wrapped))AttributeError: closed
Traceback (most recent call last):


 "/Users/pisces/Documents/python application/binlog2sql/binlog2sql/binlog2sql.py", line 7, in <module>

from pymysqlreplication import BinLogStreamReader


 "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pymysqlreplication/__init__.py", line 23, in <module>

from .binlogstream import BinLogStreamReader


 "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pymysqlreplication/binlogstream.py", line 8, in <module>

from pymysql.util import int2byte
ModuleNotFoundError: No module named 'pymysql.util'