Try running:

sudo easy_install --allow-hosts=turbogears.org -f
http://turbogears.org/download/index.html cElementTree

That should get the version of cElementTree hosted at turbogears.org
rather than effbot.

On 22/11/05, Grant <[EMAIL PROTECTED]> wrote:
>
> Hi everybody,
>
> I'm having a problem installing on Mac OS X 10.3.9.
> First up, I'm a python newbie, so please go easy on me ;-)
>
> Firstly updated to python 2.4.1 [Mac OS 10.3 comes with 2.3 as
> standard] sucessfully (well typing 'python' enters the interpreter
> showing version 2.4.1)
>
> Then tried to install TurboGears, and install seemed to go fine.
>
> Then I tried to follow the tutorial, but when I type
> 'tg-admin quickstart', I get the following traceback:
>
> Traceback (most recent call last):
>   File "/usr/local/bin/tg-admin", line 5, in ?
>     from pkg_resources import load_entry_point
>   File
> "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packa
> ges/setuptools-0.6a8-py2.4.egg/pkg_resources.py",
> line 2192, in ?
>     working_set.require(__requires__)
>   File
> "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packa
> ges/setuptools-0.6a8-py2.4.egg/pkg_resources.py",
> line 503, in require
>     needed = self.resolve(parse_requirements(requirements))
>   File
> "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packa
> ges/setuptools-0.6a8-py2.4.egg/pkg_resources.py",
> line 483, in resolve
>     raise DistributionNotFound(req)  # XXX put more info here
> pkg_resources.DistributionNotFound: cElementTree>=1.0.2
>
> Guessing that perhaps cElementTree is not installed, I tried 'sudo
> easy_install cElementTree', which gives:
>
> Searching for cElementTree
> Reading http://www.python.org/pypi/cElementTree/
> Reading http://www.effbot.org/zone/celementtree.htm
> Reading http://effbot.org/downloads#celementtree
> Best match: cElementTree 1.0.2-20050302
> Downloading
> http://effbot.org/downloads/index.cgi/cElementTree-1.0.2-20050302.zip...
>
> error: Unexpected HTML page found at
> http://effbot.org/downloads/index.cgi/cElementTree-1.0.2-20050302.zip...
>
>
> Ok, I'm stumped. What should I be trying to do next?
>
>

Reply via email to