Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'url:bitbucket': 0.05; 'skip:\\ 20': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; '(windows': 0.16; 'caches': 0.16; 'cleaned': 0.16; 'egg': 0.16; 'ez_setup.py': 0.16; 'helps.': 0.16; 'issue?': 0.16; 'maintainer': 0.16; 'prepared.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'setuptools': 0.16; 'subject: \n ': 0.16; 'subject:issue': 0.16; 'url:setuptools': 0.16; 'wrote:': 0.18; 'appears': 0.22; 'install': 0.23; 'installation': 0.23; 'header:User-Agent:1': 0.23; 'error': 0.23; 'header': 0.24; 'looks': 0.24; 'script': 0.25; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'patch': 0.29; 'went': 0.31; 'getting': 0.31; 'file': 0.32; 'run': 0.32; 'subject: (': 0.35; 'common': 0.35; 'something': 0.35; 'but': 0.35; 'google': 0.35; 'there': 0.35; 'installing': 0.36; 'url:org': 0.36; 'wrong': 0.37; 'jason': 0.38; 'to:addr:python-list': 0.38; 'issue': 0.38; 'bad': 0.39; 'realize': 0.39; 'reported': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'skip:z 20': 0.60; 'hope': 0.61; 'from:charset:utf-8': 0.61; 'receive': 0.70; 'received:93': 0.72; 'received:hr': 0.84; 'subject:common': 0.84; 'subject:find': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: =?UTF-8?B?SnVya28gR29zcG9kbmV0acSH?= Subject: Re: Common issue but unable to find common solution (ez_setup.py on PC) Date: Wed, 07 May 2014 15:44:14 +0200 Organization: PKE sistemi d.o.o. References: <253cc793-655e-4b7d-a167-73bb8bebde90@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: 93-141-111-178.adsl.net.t-com.hr User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: <253cc793-655e-4b7d-a167-73bb8bebde90@googlegroups.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 39 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1399470270 news.xs4all.nl 2872 [2001:888:2000:d::a6]:50727 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:71018 Hi. On 7.5.2014. 13:55, Jason Mellone wrote: > By way of google I realize I am having what appears to be > a pretty common issue install ez_setup.py on a PC (Windows XP, Python27). > > I receive an error message that looks like the following: > > Installing easy_install-2.7.exe.manifest script to C:\Python27\Scripts > >[...snipped a long traceback...] > return self.loader.get_data(path) > zipimport.ZipImportError: bad local file header in c:\python27\lib\site-packages > \setuptools-3.5.1-py2.7.egg > Something went wrong during the installation. > See the error message above. You can run into this when attempting to upgrade an existing setuptools installation packaged as a zipped egg (due to some old zipimporter caches not getting cleaned up correctly). > Is there a common solution for this issue? It has already been reported and a patch has been prepared. See the following: https://bitbucket.org/pypa/setuptools/issue/168 https://bitbucket.org/pypa/setuptools/pull-request/48 But the patch is still waiting on the maintainer to apply it. Hope this helps. Best regards, Jurko Gospodnetić