Can you open the .egg in a zip utility?  Maybe the file is damaged/corrupted?

If corrupted, try download again, or try downloading to a different PC
(maybe over a different connection) and copy it using a flash drive or
whatever.

If the zip file appears ok, you could try installing the egg
manually...but that could get icky.

It should mostly involve copying things to the right place and editing
easy_install.pth, which shouldn't be too difficult, but make sure you
back things up...it can get really ugly otherwise.

BE WARNED!

--
Kevin Horn

On 1/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I am getting this exact same error with Python 2.4.5 and TurboGears
> 1.0.1 .. anyone have any ideas?
>
>
> easy_install turbogears
> Searching for turbogears
> Reading http://cheeseshop.python.org/pypi/turbogears/
> Couldn't find index page for 'turbogears' (maybe misspelled?)
> Scanning index of all packages (this may take a while)
> Reading http://cheeseshop.python.org/pypi/
> Reading http://cheeseshop.python.org/pypi/TurboGears/1.0.1
> Reading http://www.turbogears.org
> Reading http://www.turbogears.org/download/
> Best match: TurboGears 1.0.1
> Downloading http://files.turbogears.org/eggs/TurboGears-1.0.1-
> py2.4.egg
> Processing TurboGears-1.0.1-py2.4.egg
> Traceback (most recent call last):
>  File "C:\Python24\Scripts\easy_install-script.py", line 7, in ?
>    sys.exit(
>  File "c:\python24\lib\site-packages\setuptools-0.6c5-py2.4.egg
> \setuptools\command\easy_install.py", line 1670, in main
>    with_ei_usage(lambda:
>  File "c:\python24\lib\site-packages\setuptools-0.6c5-py2.4.egg
> \setuptools\command\easy_install.py", line 1659, in with_ei_usage
>    return f()
>  File "c:\python24\lib\site-packages\setuptools-0.6c5-py2.4.egg
> \setuptools\command\easy_install.py", line 1674, in <lambda>
>    distclass=DistributionWithoutHelpCommands, **kw
>  File "C:\Python24\lib\distutils\core.py", line 149, in setup
>    dist.run_commands()
>  File "C:\Python24\lib\distutils\dist.py", line 946, in run_commands
>    self.run_command(cmd)
>  File "C:\Python24\lib\distutils\dist.py", line 966, in run_command
>    cmd_obj.run()
>  File "c:\python24\lib\site-packages\setuptools-0.6c5-py2.4.egg
> \setuptools\command\easy_install.py", line 211, in run
>    self.easy_install(spec, not self.no_deps)
>  File "c:\python24\lib\site-packages\setuptools-0.6c5-py2.4.egg
> \setuptools\command\easy_install.py", line 446, in easy_install
>    return self.install_item(spec, dist.location, tmpdir, deps)
>  File "c:\python24\lib\site-packages\setuptools-0.6c5-py2.4.egg
> \setuptools\command\easy_install.py", line 471, in install_item
>    dists = self.install_eggs(spec, download, tmpdir)
>  File "c:\python24\lib\site-packages\setuptools-0.6c5-py2.4.egg
> \setuptools\command\easy_install.py", line 619, in install_eggs
>    return [self.install_egg(dist_filename, tmpdir)]
>  File "c:\python24\lib\site-packages\setuptools-0.6c5-py2.4.egg
> \setuptools\command\easy_install.py", line 670, in install_egg
>    dist = self.egg_distribution(egg_path)
>  File "c:\python24\lib\site-packages\setuptools-0.6c5-py2.4.egg
> \setuptools\command\easy_install.py", line 661, in egg_distribution
>    metadata = EggMetadata(zipimport.zipimporter(egg_path))
> zipimport.ZipImportError: not a Zip file: 'c:
> \docume~1\johnde~1\locals~1\temp\easy_install-yg7376\TurboGears-1.0.1-
> py2.4.egg'
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to