Dear All,
Thanks for the help. I have cleaned out the eggs and used deactivate/
activate and now I can browse http://127.0.0.1:8080

eggs are new to me, a know-how gap that needs to be closed :)

In case someone is interested how it worked in the end:

Removed egg files from :/usr/lib/python2.5/site-packages
r...@eee:/usr/lib/python2.5/site-packages# rm -rf *egg
(did not check the timestamps as Diez recommended! )

this wrecked the vitualenv installation
On Debian do:
aptitude reinstall setup tools, virtualenv, distribute

#do the following as non-root
cd $HOME
deactivate
virtualenv --no-site-packages tg21b2
cd tg21b2
source bin/activate
easy_install -i http://www.turbogears.org/2.1/downloads/current/index
tg.devtools

# ensure paster and python use same virtualenv
deactivate
source bin/activate

paster quickstart tg21tut
cd tg21tut
python setup.py develop -i http://www.turbogears.org/2.1/downloads/current/index

# ensure paster and python use same virtualenv
deactivate
source bin/activate

paster setup-app development.ini
paster serve development.ini


Regards
Ernst

On Sep 7, 8:02 pm, "Diez B. Roggisch" <[email protected]> wrote:
> On Tuesday, September 07, 2010 11:32:31 pipoun wrote:
> > Hey eka,
>
> > If I look at the following lines:
> > > Running /usr/bin/python setup.py egg_info
> > > Traceback (most recent call last):
> > >   File "/usr/bin/paster", line 8, in <module>
> > >     load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')
>
> > It seems that python and paster are not called from your virtual env.
>
> > I have met a similar error in the past.
> > Once I had easy_installed TG, I had to deactivate then activate again
> > in order that the paster command line links to the good one (which is
> > the paster in your virtualenv folder)
>
> > I hope it could help. As michael said, everything should be
> > straightforward. You shouldn't see a 404 nor having to manually
> > install some python packages.
>
> The 404 comes from having the wrong Pylons installed. And the above indicates
> that the OP used root (always a bad idea) to install TG & polluted his system-
> python with eggs which shouldn't be there.
>
> So please first clean up the system python's site-packages, removing all eggs
> that don't belong there - it might help to look at the dates they got
> installed to determine these.
>
> Then, re-install the venv (and don't ever use root for that....)
>
> Diez

-- 
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