Traceback (most recent call last):

 "/miniconda/lib/python3.5/site-packages/cppimport/import_hook.py", line 241, in find_module
build_plugin(fullname, filepath)

 "/miniconda/lib/python3.5/site-packages/cppimport/import_hook.py", line 187, in build_plugin
with stdchannel_redirected(sys.stdout, os.devnull):

 "/miniconda/lib/python3.5/contextlib.py", line 59, in __enter__
return next(self.gen)

 "/miniconda/lib/python3.5/site-packages/cppimport/import_hook.py", line 36, in stdchannel_redirected
if oldstdchannel is not None:UnboundLocalError: local variable 'oldstdchannel' referenced before assignment
Traceback (most recent call last):


 "<stdin>", line 1, in <module>
pyodbc.Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib '/opt/microsoft/msodbcsql17/lib64/libmsodbcsql-17.4.so.2.1' : file not found (0) (SQLDriverConnect)")
