Traceback (most recent call last):


 "c:\programdata\anaconda3\lib\runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "c:\programdata\anaconda3\lib\runpy.py", line 85, in _run_code

exec(code, run_globals)


 "C:\ProgramData\Anaconda3\Scripts\pyinstaller.exe\__main__.py", line 9, in <module>


 "c:\programdata\anaconda3\lib\site-packages\PyInstaller\__main__.py", line 81, in run

import PyInstaller.building.build_main


 "c:\programdata\anaconda3\lib\site-packages\PyInstaller\building\build_main.py", line 36, in <module>

from ..depend.analysis import initialize_modgraph


 "c:\programdata\anaconda3\lib\site-packages\PyInstaller\depend\analysis.py", line 60, in <module>

from ..utils.hooks import collect_submodules, is_package


 "c:\programdata\anaconda3\lib\site-packages\PyInstaller\utils\hooks\__init__.py", line 1138, in <module>

from . import conda as conda_support
# noqa: F401


 "c:\programdata\anaconda3\lib\site-packages\PyInstaller\utils\hooks\conda.py", line 51, in <module>

from importlib_metadata import PackagePath as _PackagePath
ImportError: cannot import name 'PackagePath' from 'importlib_metadata' (c:\programdata\anaconda3\lib\site-packages\importlib_metadata\__init__.py)


Traceback (most recent call last):


 "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 152, in addpackage

exec line


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

ImportError: No module named new
