Traceback (most recent call last):


 "D:\Apps\Python\Anaconda3\lib\site-packages\PyInstaller\depend\bindepend.py", line 721, in getImports

return _getImports_pe(pth)


 "D:\Apps\Python\Anaconda3\lib\site-packages\PyInstaller\depend\bindepend.py", line 109, in _getImports_pe

import_dllnames_only=True,
TypeError: parse_data_directories() got an unexpected keyword argument 'forwarded_exports_only'

Traceback (most recent call last):


 "examples/using_gcc_E_libc.py", line 29, in <module>

cpp_args=['-E', r'-Iutils/fake_libc_include'])


 "./pycparser/__init__.py", line 89, in parse_file

text = preprocess_file(filename, cpp_path, cpp_args, encoding)


 "./pycparser/__init__.py", line 45, in preprocess_file

text = check_output(path_list, universal_newlines=True, encoding=encoding)


 "/usr/lib/python2.7/subprocess.py", line 567, in check_output

process = Popen(stdout=PIPE, *popenargs, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'encoding'
