Closed chfakht closed 6 years ago
Hi, i'm on windows and i have tried cygwin and git bash : i get the following error
python ez_setup.py Extracting in c:\users\larbi\appdata\local\temp\tmppe3m_t Now working in c:\users\larbi\appdata\local\temp\tmppe3m_t\setuptools-3.1 Installing Setuptools running install running bdist_egg running egg_info writing dependency_links to setuptools.egg-info\dependency_links.txt writing requirements to setuptools.egg-info\requires.txt writing setuptools.egg-info\PKG-INFO writing top-level names to setuptools.egg-info\top_level.txt writing entry points to setuptools.egg-info\entry_points.txt reading manifest file 'setuptools.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'setuptools.egg-info\SOURCES.txt' installing library code to build\bdist.win32\egg running install_lib running build_py creating build creating build\lib copying pkg_resources.py -> build\lib copying easy_install.py -> build\lib creating build\lib\setuptools copying setuptools\archive_util.py -> build\lib\setuptools copying setuptools\compat.py -> build\lib\setuptools copying setuptools\depends.py -> build\lib\setuptools copying setuptools\dist.py -> build\lib\setuptools copying setuptools\extension.py -> build\lib\setuptools copying setuptools\lib2to3_ex.py -> build\lib\setuptools copying setuptools\package_index.py -> build\lib\setuptools copying setuptools\py26compat.py -> build\lib\setuptools copying setuptools\py27compat.py -> build\lib\setuptools copying setuptools\py31compat.py -> build\lib\setuptools copying setuptools\sandbox.py -> build\lib\setuptools copying setuptools\script template (dev).py -> build\lib\setuptools copying setuptools\script template.py -> build\lib\setuptools copying setuptools\site-patch.py -> build\lib\setuptools copying setuptools\ssl_support.py -> build\lib\setuptools copying setuptools\svn_utils.py -> build\lib\setuptools copying setuptools\version.py -> build\lib\setuptools copying setuptools\__init__.py -> build\lib\setuptools creating build\lib\_markerlib copying _markerlib\markers.py -> build\lib\_markerlib copying _markerlib\__init__.py -> build\lib\_markerlib creating build\lib\setuptools\command copying setuptools\command\alias.py -> build\lib\setuptools\command copying setuptools\command\bdist_egg.py -> build\lib\setuptools\command copying setuptools\command\bdist_rpm.py -> build\lib\setuptools\command copying setuptools\command\bdist_wininst.py -> build\lib\setuptools\command copying setuptools\command\build_ext.py -> build\lib\setuptools\command copying setuptools\command\build_py.py -> build\lib\setuptools\command copying setuptools\command\develop.py -> build\lib\setuptools\command copying setuptools\command\easy_install.py -> build\lib\setuptools\command copying setuptools\command\egg_info.py -> build\lib\setuptools\command copying setuptools\command\install.py -> build\lib\setuptools\command copying setuptools\command\install_egg_info.py -> build\lib\setuptools\command copying setuptools\command\install_lib.py -> build\lib\setuptools\command copying setuptools\command\install_scripts.py -> build\lib\setuptools\command copying setuptools\command\register.py -> build\lib\setuptools\command copying setuptools\command\rotate.py -> build\lib\setuptools\command copying setuptools\command\saveopts.py -> build\lib\setuptools\command copying setuptools\command\sdist.py -> build\lib\setuptools\command copying setuptools\command\setopt.py -> build\lib\setuptools\command copying setuptools\command\test.py -> build\lib\setuptools\command copying setuptools\command\upload_docs.py -> build\lib\setuptools\command copying setuptools\command\__init__.py -> build\lib\setuptools\command creating build\lib\setuptools\tests copying setuptools\tests\doctest.py -> build\lib\setuptools\tests copying setuptools\tests\environment.py -> build\lib\setuptools\tests copying setuptools\tests\py26compat.py -> build\lib\setuptools\tests copying setuptools\tests\script-with-bom.py -> build\lib\setuptools\tests copying setuptools\tests\server.py -> build\lib\setuptools\tests copying setuptools\tests\test_bdist_egg.py -> build\lib\setuptools\tests copying setuptools\tests\test_build_ext.py -> build\lib\setuptools\tests copying setuptools\tests\test_develop.py -> build\lib\setuptools\tests copying setuptools\tests\test_dist_info.py -> build\lib\setuptools\tests copying setuptools\tests\test_easy_install.py -> build\lib\setuptools\tests copying setuptools\tests\test_egg_info.py -> build\lib\setuptools\tests copying setuptools\tests\test_markerlib.py -> build\lib\setuptools\tests copying setuptools\tests\test_packageindex.py -> build\lib\setuptools\tests copying setuptools\tests\test_resources.py -> build\lib\setuptools\tests copying setuptools\tests\test_sandbox.py -> build\lib\setuptools\tests copying setuptools\tests\test_sdist.py -> build\lib\setuptools\tests copying setuptools\tests\test_svn.py -> build\lib\setuptools\tests copying setuptools\tests\test_test.py -> build\lib\setuptools\tests copying setuptools\tests\test_upload_docs.py -> build\lib\setuptools\tests copying setuptools\tests\__init__.py -> build\lib\setuptools\tests copying setuptools\cli-32.exe -> build\lib\setuptools copying setuptools\cli-64.exe -> build\lib\setuptools copying setuptools\cli-arm-32.exe -> build\lib\setuptools copying setuptools\cli.exe -> build\lib\setuptools copying setuptools\gui-32.exe -> build\lib\setuptools copying setuptools\gui-64.exe -> build\lib\setuptools copying setuptools\gui-arm-32.exe -> build\lib\setuptools copying setuptools\gui.exe -> build\lib\setuptools copying setuptools\command\launcher manifest.xml -> build\lib\setuptools\command creating build\bdist.win32 creating build\bdist.win32\egg copying build\lib\easy_install.py -> build\bdist.win32\egg copying build\lib\pkg_resources.py -> build\bdist.win32\egg creating build\bdist.win32\egg\setuptools copying build\lib\setuptools\archive_util.py -> build\bdist.win32\egg\setuptools copying build\lib\setuptools\cli-32.exe -> build\bdist.win32\egg\setuptools copying build\lib\setuptools\cli-64.exe -> build\bdist.win32\egg\setuptools copying build\lib\setuptools\cli-arm-32.exe -> build\bdist.win32\egg\setuptools copying build\lib\setuptools\cli.exe -> build\bdist.win32\egg\setuptools creating build\bdist.win32\egg\setuptools\command copying build\lib\setuptools\command\alias.py -> build\bdist.win32\egg\setuptools\command copying build\lib\setuptools\command\bdist_egg.py -> build\bdist.win32\egg\setuptools\command copying build\lib\setuptools\command\bdist_rpm.py -> build\bdist.win32\egg\setuptools\command copying build\lib\setuptools\command\bdist_wininst.py -> build\bdist.win32\egg\setuptools\command copying build\lib\setuptools\command\build_ext.py -> build\bdist.win32\egg\setuptools\command copying build\lib\setuptools\command\build_py.py -> build\bdist.win32\egg\setuptools\command copying build\lib\setuptools\command\develop.py -> build\bdist.win32\egg\setuptools\command copying build\lib\setuptools\command\easy_install.py -> build\bdist.win32\egg\setuptools\command copying build\lib\setuptools\command\egg_info.py -> build\bdist.win32\egg\setuptools\command copying build\lib\setuptools\command\install.py -> build\bdist.win32\egg\setuptools\command copying build\lib\setuptools\command\install_egg_info.py -> build\bdist.win32\egg\setuptools\command copying build\lib\setuptools\command\install_lib.py -> build\bdist.win32\egg\setuptools\command copying build\lib\setuptools\command\install_scripts.py -> build\bdist.win32\egg\setuptools\command copying build\lib\setuptools\command\launcher manifest.xml -> build\bdist.win32\egg\setuptools\command copying build\lib\setuptools\command\register.py -> build\bdist.win32\egg\setuptools\command copying build\lib\setuptools\command\rotate.py -> build\bdist.win32\egg\setuptools\command copying build\lib\setuptools\command\saveopts.py -> build\bdist.win32\egg\setuptools\command copying build\lib\setuptools\command\sdist.py -> build\bdist.win32\egg\setuptools\command copying build\lib\setuptools\command\setopt.py -> build\bdist.win32\egg\setuptools\command copying build\lib\setuptools\command\test.py -> build\bdist.win32\egg\setuptools\command copying build\lib\setuptools\command\upload_docs.py -> build\bdist.win32\egg\setuptools\command copying build\lib\setuptools\command\__init__.py -> build\bdist.win32\egg\setuptools\command copying build\lib\setuptools\compat.py -> build\bdist.win32\egg\setuptools copying build\lib\setuptools\depends.py -> build\bdist.win32\egg\setuptools copying build\lib\setuptools\dist.py -> build\bdist.win32\egg\setuptools copying build\lib\setuptools\extension.py -> build\bdist.win32\egg\setuptools copying build\lib\setuptools\gui-32.exe -> build\bdist.win32\egg\setuptools copying build\lib\setuptools\gui-64.exe -> build\bdist.win32\egg\setuptools copying build\lib\setuptools\gui-arm-32.exe -> build\bdist.win32\egg\setuptools copying build\lib\setuptools\gui.exe -> build\bdist.win32\egg\setuptools copying build\lib\setuptools\lib2to3_ex.py -> build\bdist.win32\egg\setuptools copying build\lib\setuptools\package_index.py -> build\bdist.win32\egg\setuptools copying build\lib\setuptools\py26compat.py -> build\bdist.win32\egg\setuptools copying build\lib\setuptools\py27compat.py -> build\bdist.win32\egg\setuptools copying build\lib\setuptools\py31compat.py -> build\bdist.win32\egg\setuptools copying build\lib\setuptools\sandbox.py -> build\bdist.win32\egg\setuptools copying build\lib\setuptools\script template (dev).py -> build\bdist.win32\egg\setuptools copying build\lib\setuptools\script template.py -> build\bdist.win32\egg\setuptools copying build\lib\setuptools\site-patch.py -> build\bdist.win32\egg\setuptools copying build\lib\setuptools\ssl_support.py -> build\bdist.win32\egg\setuptools copying build\lib\setuptools\svn_utils.py -> build\bdist.win32\egg\setuptools creating build\bdist.win32\egg\setuptools\tests copying build\lib\setuptools\tests\doctest.py -> build\bdist.win32\egg\setuptools\tests copying build\lib\setuptools\tests\environment.py -> build\bdist.win32\egg\setuptools\tests copying build\lib\setuptools\tests\py26compat.py -> build\bdist.win32\egg\setuptools\tests copying build\lib\setuptools\tests\script-with-bom.py -> build\bdist.win32\egg\setuptools\tests copying build\lib\setuptools\tests\server.py -> build\bdist.win32\egg\setuptools\tests copying build\lib\setuptools\tests\test_bdist_egg.py -> build\bdist.win32\egg\setuptools\tests copying build\lib\setuptools\tests\test_build_ext.py -> build\bdist.win32\egg\setuptools\tests copying build\lib\setuptools\tests\test_develop.py -> build\bdist.win32\egg\setuptools\tests copying build\lib\setuptools\tests\test_dist_info.py -> build\bdist.win32\egg\setuptools\tests copying build\lib\setuptools\tests\test_easy_install.py -> build\bdist.win32\egg\setuptools\tests copying build\lib\setuptools\tests\test_egg_info.py -> build\bdist.win32\egg\setuptools\tests copying build\lib\setuptools\tests\test_markerlib.py -> build\bdist.win32\egg\setuptools\tests copying build\lib\setuptools\tests\test_packageindex.py -> build\bdist.win32\egg\setuptools\tests copying build\lib\setuptools\tests\test_resources.py -> build\bdist.win32\egg\setuptools\tests copying build\lib\setuptools\tests\test_sandbox.py -> build\bdist.win32\egg\setuptools\tests copying build\lib\setuptools\tests\test_sdist.py -> build\bdist.win32\egg\setuptools\tests copying build\lib\setuptools\tests\test_svn.py -> build\bdist.win32\egg\setuptools\tests copying build\lib\setuptools\tests\test_test.py -> build\bdist.win32\egg\setuptools\tests copying build\lib\setuptools\tests\test_upload_docs.py -> build\bdist.win32\egg\setuptools\tests copying build\lib\setuptools\tests\__init__.py -> build\bdist.win32\egg\setuptools\tests copying build\lib\setuptools\version.py -> build\bdist.win32\egg\setuptools copying build\lib\setuptools\__init__.py -> build\bdist.win32\egg\setuptools creating build\bdist.win32\egg\_markerlib copying build\lib\_markerlib\markers.py -> build\bdist.win32\egg\_markerlib copying build\lib\_markerlib\__init__.py -> build\bdist.win32\egg\_markerlib byte-compiling build\bdist.win32\egg\easy_install.py to easy_install.pyc byte-compiling build\bdist.win32\egg\pkg_resources.py to pkg_resources.pyc byte-compiling build\bdist.win32\egg\setuptools\archive_util.py to archive_util.pyc byte-compiling build\bdist.win32\egg\setuptools\command\alias.py to alias.pyc byte-compiling build\bdist.win32\egg\setuptools\command\bdist_egg.py to bdist_egg.pyc byte-compiling build\bdist.win32\egg\setuptools\command\bdist_rpm.py to bdist_rpm.pyc byte-compiling build\bdist.win32\egg\setuptools\command\bdist_wininst.py to bdist_wininst.pyc byte-compiling build\bdist.win32\egg\setuptools\command\build_ext.py to build_ext.pyc byte-compiling build\bdist.win32\egg\setuptools\command\build_py.py to build_py.pyc byte-compiling build\bdist.win32\egg\setuptools\command\develop.py to develop.pyc byte-compiling build\bdist.win32\egg\setuptools\command\easy_install.py to easy_install.pyc byte-compiling build\bdist.win32\egg\setuptools\command\egg_info.py to egg_info.pyc byte-compiling build\bdist.win32\egg\setuptools\command\install.py to install.pyc byte-compiling build\bdist.win32\egg\setuptools\command\install_egg_info.py to install_egg_info.pyc byte-compiling build\bdist.win32\egg\setuptools\command\install_lib.py to install_lib.pyc byte-compiling build\bdist.win32\egg\setuptools\command\install_scripts.py to install_scripts.pyc byte-compiling build\bdist.win32\egg\setuptools\command\register.py to register.pyc byte-compiling build\bdist.win32\egg\setuptools\command\rotate.py to rotate.pyc byte-compiling build\bdist.win32\egg\setuptools\command\saveopts.py to saveopts.pyc byte-compiling build\bdist.win32\egg\setuptools\command\sdist.py to sdist.pyc byte-compiling build\bdist.win32\egg\setuptools\command\setopt.py to setopt.pyc byte-compiling build\bdist.win32\egg\setuptools\command\test.py to test.pyc byte-compiling build\bdist.win32\egg\setuptools\command\upload_docs.py to upload_docs.pyc byte-compiling build\bdist.win32\egg\setuptools\command\__init__.py to __init__.pyc byte-compiling build\bdist.win32\egg\setuptools\compat.py to compat.pyc byte-compiling build\bdist.win32\egg\setuptools\depends.py to depends.pyc byte-compiling build\bdist.win32\egg\setuptools\dist.py to dist.pyc byte-compiling build\bdist.win32\egg\setuptools\extension.py to extension.pyc byte-compiling build\bdist.win32\egg\setuptools\lib2to3_ex.py to lib2to3_ex.pyc byte-compiling build\bdist.win32\egg\setuptools\package_index.py to package_index.pyc byte-compiling build\bdist.win32\egg\setuptools\py26compat.py to py26compat.pyc byte-compiling build\bdist.win32\egg\setuptools\py27compat.py to py27compat.pyc byte-compiling build\bdist.win32\egg\setuptools\py31compat.py to py31compat.pyc byte-compiling build\bdist.win32\egg\setuptools\sandbox.py to sandbox.pyc byte-compiling build\bdist.win32\egg\setuptools\script template (dev).py to script template (dev).pyc byte-compiling build\bdist.win32\egg\setuptools\script template.py to script template.pyc byte-compiling build\bdist.win32\egg\setuptools\site-patch.py to site-patch.pyc byte-compiling build\bdist.win32\egg\setuptools\ssl_support.py to ssl_support.pyc byte-compiling build\bdist.win32\egg\setuptools\svn_utils.py to svn_utils.pyc byte-compiling build\bdist.win32\egg\setuptools\tests\doctest.py to doctest.pyc byte-compiling build\bdist.win32\egg\setuptools\tests\environment.py to environment.pyc byte-compiling build\bdist.win32\egg\setuptools\tests\py26compat.py to py26compat.pyc byte-compiling build\bdist.win32\egg\setuptools\tests\script-with-bom.py to script-with-bom.pyc byte-compiling build\bdist.win32\egg\setuptools\tests\server.py to server.pyc byte-compiling build\bdist.win32\egg\setuptools\tests\test_bdist_egg.py to test_bdist_egg.pyc byte-compiling build\bdist.win32\egg\setuptools\tests\test_build_ext.py to test_build_ext.pyc byte-compiling build\bdist.win32\egg\setuptools\tests\test_develop.py to test_develop.pyc byte-compiling build\bdist.win32\egg\setuptools\tests\test_dist_info.py to test_dist_info.pyc byte-compiling build\bdist.win32\egg\setuptools\tests\test_easy_install.py to test_easy_install.pyc byte-compiling build\bdist.win32\egg\setuptools\tests\test_egg_info.py to test_egg_info.pyc byte-compiling build\bdist.win32\egg\setuptools\tests\test_markerlib.py to test_markerlib.pyc byte-compiling build\bdist.win32\egg\setuptools\tests\test_packageindex.py to test_packageindex.pyc byte-compiling build\bdist.win32\egg\setuptools\tests\test_resources.py to test_resources.pyc byte-compiling build\bdist.win32\egg\setuptools\tests\test_sandbox.py to test_sandbox.pyc byte-compiling build\bdist.win32\egg\setuptools\tests\test_sdist.py to test_sdist.pyc byte-compiling build\bdist.win32\egg\setuptools\tests\test_svn.py to test_svn.pyc byte-compiling build\bdist.win32\egg\setuptools\tests\test_test.py to test_test.pyc byte-compiling build\bdist.win32\egg\setuptools\tests\test_upload_docs.py to test_upload_docs.pyc byte-compiling build\bdist.win32\egg\setuptools\tests\__init__.py to __init__.pyc byte-compiling build\bdist.win32\egg\setuptools\version.py to version.pyc byte-compiling build\bdist.win32\egg\setuptools\__init__.py to __init__.pyc byte-compiling build\bdist.win32\egg\_markerlib\markers.py to markers.pyc byte-compiling build\bdist.win32\egg\_markerlib\__init__.py to __init__.pyc creating build\bdist.win32\egg\EGG-INFO copying setuptools.egg-info\PKG-INFO -> build\bdist.win32\egg\EGG-INFO copying setuptools.egg-info\SOURCES.txt -> build\bdist.win32\egg\EGG-INFO copying setuptools.egg-info\dependency_links.txt -> build\bdist.win32\egg\EGG-INFO copying setuptools.egg-info\entry_points.txt -> build\bdist.win32\egg\EGG-INFO copying setuptools.egg-info\requires.txt -> build\bdist.win32\egg\EGG-INFO copying setuptools.egg-info\top_level.txt -> build\bdist.win32\egg\EGG-INFO copying setuptools.egg-info\zip-safe -> build\bdist.win32\egg\EGG-INFO creating dist creating 'dist\setuptools-3.1-py2.7.egg' and adding 'build\bdist.win32\egg' to it removing 'build\bdist.win32\egg' (and everything under it) Processing setuptools-3.1-py2.7.egg Removing c:\python27\lib\site-packages\setuptools-3.1-py2.7.egg Copying setuptools-3.1-py2.7.egg to c:\python27\lib\site-packages setuptools 3.1 is already the active version in easy-install.pth Installing easy_install-script.py script to C:\Python27\Scripts Installing easy_install.exe script to C:\Python27\Scripts Installing easy_install.exe.manifest script to C:\Python27\Scripts Installing easy_install-2.7-script.py script to C:\Python27\Scripts Installing easy_install-2.7.exe script to C:\Python27\Scripts Installing easy_install-2.7.exe.manifest script to C:\Python27\Scripts Installed c:\python27\lib\site-packages\setuptools-3.1-py2.7.egg Processing dependencies for setuptools==3.1 Traceback (most recent call last): File "setup.py", line 203, in <module> dist = setuptools.setup(**setup_params) File "C:\Python27\lib\distutils\core.py", line 151, in setup dist.run_commands() File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands self.run_command(cmd) File "C:\Python27\lib\distutils\dist.py", line 972, in run_command cmd_obj.run() File "c:\users\larbi\appdata\local\temp\tmppe3m_t\setuptools-3.1\setuptools\command\install.py", line 74, in run self.do_egg_install() File "c:\users\larbi\appdata\local\temp\tmppe3m_t\setuptools-3.1\setuptools\command\install.py", line 97, in do_egg_install cmd.run() File "c:\users\larbi\appdata\local\temp\tmppe3m_t\setuptools-3.1\setuptools\command\easy_install.py", line 358, in run self.easy_install(spec, not self.no_deps) File "c:\users\larbi\appdata\local\temp\tmppe3m_t\setuptools-3.1\setuptools\command\easy_install.py", line 574, in easy_install return self.install_item(None, spec, tmpdir, deps, True) File "c:\users\larbi\appdata\local\temp\tmppe3m_t\setuptools-3.1\setuptools\command\easy_install.py", line 625, in install_item self.process_distribution(spec, dist, deps) File "c:\users\larbi\appdata\local\temp\tmppe3m_t\setuptools-3.1\setuptools\command\easy_install.py", line 671, in process_distribution [requirement], self.local_index, self.easy_install File "c:\users\larbi\appdata\local\temp\tmppe3m_t\setuptools-3.1\pkg_resources.py", line 633, in resolve requirements.extend(dist.requires(req.extras)[::-1]) File "c:\users\larbi\appdata\local\temp\tmppe3m_t\setuptools-3.1\pkg_resources.py", line 2291, in requires dm = self._dep_map File "c:\users\larbi\appdata\local\temp\tmppe3m_t\setuptools-3.1\pkg_resources.py", line 2277, in _dep_map for extra,reqs in split_sections(self._get_metadata(name)): File "c:\users\larbi\appdata\local\temp\tmppe3m_t\setuptools-3.1\pkg_resources.py", line 2715, in split_sections for line in yield_lines(s): File "c:\users\larbi\appdata\local\temp\tmppe3m_t\setuptools-3.1\pkg_resources.py", line 1989, in yield_lines for ss in strs: File "c:\users\larbi\appdata\local\temp\tmppe3m_t\setuptools-3.1\pkg_resources.py", line 2305, in _get_metadata for line in self.get_metadata_lines(name): File "c:\users\larbi\appdata\local\temp\tmppe3m_t\setuptools-3.1\pkg_resources.py", line 1369, in get_metadata_lines return yield_lines(self.get_metadata(name)) File "c:\users\larbi\appdata\local\temp\tmppe3m_t\setuptools-3.1\pkg_resources.py", line 1361, in get_metadata return self._get(self._fn(self.egg_info,name)) File "c:\users\larbi\appdata\local\temp\tmppe3m_t\setuptools-3.1\pkg_resources.py", line 1425, in _get return self.loader.get_data(path) zipimport.ZipImportError: bad local file header in c:\python27\lib\site-packages\setuptools-3.1-py2.7.egg Something went wrong during the installation. See the error message above.
Looks like your setuptools-3.1-py2.7.egg is invalid. You could try to remove it and rebuild / reinstall. It is not related to pylzma though (sorry for the late reply).
setuptools-3.1-py2.7.egg
Hi, i'm on windows and i have tried cygwin and git bash : i get the following error