Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #71018

Re: Common issue but unable to find common solution (ez_setup.py on PC)

From Jurko Gospodnetić <jurko.gospodnetic@pke.hr>
Subject Re: Common issue but unable to find common solution (ez_setup.py on PC)
Date 2014-05-07 15:44 +0200
Organization PKE sistemi d.o.o.
References <253cc793-655e-4b7d-a167-73bb8bebde90@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.9732.1399470270.18130.python-list@python.org> (permalink)

Show all headers | View raw


   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ć

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Common issue but unable to find common solution (ez_setup.py on PC) Jason Mellone <jason.mellone@gmail.com> - 2014-05-07 04:55 -0700
  Re: Common issue but unable to find common solution (ez_setup.py on PC) Jurko Gospodnetić <jurko.gospodnetic@pke.hr> - 2014-05-07 15:44 +0200
    Re: Common issue but unable to find common solution (ez_setup.py on PC) Jason Mellone <jason.mellone@gmail.com> - 2014-05-07 06:52 -0700
      Re: Common issue but unable to find common solution (ez_setup.py on PC) Jurko Gospodnetić <jurko.gospodnetic@pke.hr> - 2014-05-07 18:58 +0200

csiph-web