python - Pyinstaller Error - "setuptools distribution was not found" -


trying out build executable binary python project using pyinstaller.

environment details:

python - 2.7.6, pip - 6.1.1, setuptools - 21.2.1

i can able build project successfully.

pyinstaller heatstackapp.py ...... ...... 83093 info: checking collect 83093 info: building collect because out00-collect.toc non existent 83094 info: building collect out00-collect.toc jayaprakash@cloudenablers:/opt/core/heatstack/heatstack$ 

whereas when execute binary throws below error message.

jayaprakash@cloudenablers:/opt/core/heatstack/heatstack$     ./dist/heatstackapp/heatstackapp  ...... ......       file "pbr/packaging.py", line 31, in <module>       file "/usr/local/lib/python2.7/dist-packages/pyinstaller/loader/pyimod03_importers.py", line 389, in load_module         exec(bytecode, module.__dict__)       file "setuptools/command/develop.py", line 11, in <module>       file "/usr/local/lib/python2.7/dist-packages/pyinstaller/loader/pyimod03_importers.py", line 389, in load_module         exec(bytecode, module.__dict__)       file "setuptools/command/easy_install.py", line 53, in <module>       file "/usr/local/lib/python2.7/dist-packages/pyinstaller/loader/pyimod03_importers.py", line 389, in load_module         exec(bytecode, module.__dict__)       file "setuptools/package_index.py", line 206, in <module>       file "pkg_resources/__init__.py", line 943, in require       file "pkg_resources/__init__.py", line 829, in resolve     pkg_resources.distributionnotfound: 'setuptools' distribution not found , required application     failed execute script heatstackapp 

any appreciable. in advance.


Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -