Thanks for all the replies.

On Jul 8, 12:54 pm, Christopher Arndt <[EMAIL PROTECTED]> wrote:

> This should work on a fresh Ubuntu default install. But there have been
> reports with errors caused by out-of-date version of libraries used by
> TurboGears that were already installed on the system via .deb packages,
> e.g. RuleDispatch. A nice way to get around problems of this sort is to
> use workingenv [1].
>
>     sudo apt-get install gcc libc6-dev build-essential python-dev \
>       python-setuptools python-profiler
>     sudo easy_install workingenv.py
>     mkdir ~/lib
>     workingenv ~/lib/tg-py25
>     source ~/lib/tg-py25/bin/activate # [2]
>     wgethttp://www.turbogears.org/download/tgsetup.py
>     echo y | python tgsetup.py
>
> Test it (still in the same shell):
>
>     tg-admin info
>     cd ~/lib/tg-py25/src
>     tg-admin quickstart -ip mytest MyTest
>     cd MyTest
>     ./start-mytest.py
>
> I just tested this on my Ubuntu box and it works without problems for me.

I tried following this but without success.

I'm pretty sure that my "custom install" of Python was indeed a very
bad idea and this is the root of the problems here. i.e. made things
bad to worse.

(tg-py25)[EMAIL PROTECTED]:~$ tg-admin info
Traceback (most recent call last):
  File "/home/rob/lib/tg-py25/bin/tg-admin", line 11, in <module>
    from pkg_resources import load_entry_point
  File "/home/rob/lib/tg-py25/lib/python2.5/setuptools-0.6c6-py2.5.egg/
pkg_resources.py", line 2561, in <module>
    working_set.require(__requires__)
  File "/home/rob/lib/tg-py25/lib/python2.5/setuptools-0.6c6-py2.5.egg/
pkg_resources.py", line 626, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/home/rob/lib/tg-py25/lib/python2.5/setuptools-0.6c6-py2.5.egg/
pkg_resources.py", line 524, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: PasteScript>=0.9.7
(tg-py25)[EMAIL PROTECTED]:~$

tgsetup.py also ended with complaints about PasteScript:

....
Finished installing setuptools==0.6c6
Searching for PasteScript==1.1
Reading http://cheeseshop.python.org/pypi/PasteScript/
Reading http://pythonpaste.org/script/
Reading http://cheeseshop.python.org/pypi/PasteScript/1.3.5
Skipping development or system egg: PasteScript 1.1
No local packages or download links found for PasteScript==1.1
error: Could not find suitable distribution for
Requirement.parse('PasteScript==1.1') (--always-copy skips system and
development eggs)
(tg-py25)[EMAIL PROTECTED]:~$

I'm going to try the above process just off the LiveCD instead and
this should give me a clean slate. If I can get it running from there
then it's certainly my tamperings that have hosed it on my local
machine.

Any advice about reverting the bad "make install" I've done?

Many thanks again - as penance, if I master this, I'll try testing it
on a Gutsy LiveCD too :)




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