Thanks, Alec.  I thought so too.

Now I have more errors when I run easy_install.


[EMAIL PROTECTED] trac]$ sudo easy_install /usr/local/lib/python2.3/site-packages/TracTags-0.4-py2.3.egg
Processing TracTags-0.4-py2.3.egg
Traceback (most recent call last):
  File "/usr/local/bin/easy_install", line 7, in ?
    sys.exit(
  File "/usr/local/lib/python2.3/site-packages/setuptools-0.6b2-py2.3.egg/setuptools/command/easy_install.py", line 1547, in main
    with_ei_usage(lambda:
  File "/usr/local/lib/python2.3/site-packages/setuptools-0.6b2-py2.3.egg/setuptools/command/easy_install.py", line 1536, in with_ei_usage
    return f()
  File "/usr/local/lib/python2.3/site-packages/setuptools- 0.6b2-py2.3.egg/setuptools/command/easy_install.py", line 1550, in <lambda>
    distclass=DistributionWithoutHelpCommands, **kw
  File "/usr/local/lib/python2.3/distutils/core.py", line 149, in setup
    dist.run_commands()
  File "/usr/local/lib/python2.3/distutils/dist.py", line 907, in run_commands
    self.run_command(cmd)
  File "/usr/local/lib/python2.3/distutils/dist.py", line 927, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python2.3/site-packages/setuptools-0.6b2-py2.3.egg/setuptools/command/easy_install.py", line 211, in run
    self.easy_install(spec, not self.no_deps)
  File "/usr/local/lib/python2.3/site-packages/setuptools- 0.6b2-py2.3.egg/setuptools/command/easy_install.py", line 427, in easy_install
    return self.install_item(None, spec, tmpdir, deps, True)
  File "/usr/local/lib/python2.3/site-packages/setuptools-0.6b2-py2.3.egg /setuptools/command/easy_install.py", line 461, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/usr/local/lib/python2.3/site-packages/setuptools-0.6b2-py2.3.egg/setuptools/command/easy_install.py", line 619, in install_eggs
    return [self.install_egg(dist_filename, tmpdir)]
  File "/usr/local/lib/python2.3/site-packages/setuptools-0.6b2-py2.3.egg/setuptools/command/easy_install.py", line 670, in install_egg
    dist = self.egg_distribution (egg_path)
  File "/usr/local/lib/python2.3/site-packages/setuptools-0.6b2-py2.3.egg/setuptools/command/easy_install.py", line 661, in egg_distribution
    metadata = EggMetadata(zipimport.zipimporter(egg_path))
zipimport.ZipImportError: not a Zip file: '/usr/local/lib/python2.3/site-packages/TracTags-0.4-py2.3.egg'
[EMAIL PROTECTED] trac]$
[EMAIL PROTECTED] trac]$ ls -al /usr/local/lib/python2.3/site-packages/TracTags- 0.4-py2.3.egg
-rw-r--r--    1 root     root         3745 Jun  6 15:53 /usr/local/lib/python2.3/site-packages/TracTags-0.4-py2.3.egg
[EMAIL PROTECTED] trac]$

Do you spot anything?

~yeuwen

On 6/6/06, Alec Thomas <[EMAIL PROTECTED]> wrote:
On Tue, Jun 06, 2006 at 06:46:22PM +1000, Yeu-Wen.Mak wrote:
> I have simply put the corresponding Trac Tag egg file into the site-packages
> folder of python 2.3

You can't plonk eggs into site-packages, as they are not automtically
registered with setuptools. Either put the egg in the plugins directory
of your Trac instance, install it site-wide from the source, or type:

    easy_install /usr/lib/python2.x/site-packages/YourEgg.egg

--
Evolution: Taking care of those too stupid to take care of themselves.
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac



--
YeuWen
Mobile # +61418379261
http://blog.360.yahoo.com/makyw
The greatest use of life is to spend it for something that will outlast it.
- William James
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to