Rob schrieb: > I'm very new to Python although not programming. I am curious about > TG as it was recommended/demoed to me by a friend and looks great but > it seems very hard to get this up and running on Ubuntu Feisty 7.04. > > a) Seems like the default Python/TG packages on Ubuntu are hosed and > don't work out of the box (non-standard install locations?). I > originally got this error after installing TG via Synapic:
The Ubuntu python-turbogears packages are not up-to-date. The recommended (and tested) way to install TG on Ubuntu is described here: http://docs.turbogears.org/1.0/InstallUbuntu 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] wget http://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. [1] http://python.org/pypi/workingenv.py [2] This step has to be done every new shell each time you work with TurboGears > b) I then followed the advice of "[EMAIL PROTECTED]" on the above thread who > suggested basically a complete fresh make install of Python 2.5 and > TG. Installing your own Python build should not be necessary. The default Ubuntu Python 2.5 package should work. Chris --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

