With Ubuntu 9.04, and TG 2.0.x, you must install Extremes separately. The version of Python that ships with Ubuntu 9.04+ is incompatible with the version of Extremes that is currently in our index. As such, the proper method (including all of the virtualenv steps):
-------------------------------------------------------------------------------------------------------------------------------------- virtualenv --no-site-packages virtenvname source virtenvname/bin/activate easy_install Extremes easy_install -i http://www.turbogears.org/2.0/downloads/current/index/tg.devtools paster quickstart projectname cd projectname python setup.py -i http://www.turbogears.org/2.0/downloads/current/index/ paster setup-app development.ini paster serve development.ini -------------------------------------------------------------------------------------------------------------------------------------- On Tue, May 18, 2010 at 7:53 AM, ramesh vel <[email protected]> wrote: > > Thanks Rob, > > the second option you have specified also throws the same error. But > i ll try with the Christopher Perkins walkthrough and let you know. > > Cheers > Ramesh Vel > > > Rob-258 wrote: > > > > Hi Ramesh, > > > > I'm not sure that I'm as qualified as many to answer you but, if > > you're having difficulty setting up, I strongly recommend that you see > > Christopher Perkins' excellent walkthrough video which can be seen > > here: > > http://showmedo.com/videotutorials/video?name=2870000&fromSeriesID=287 > > > > He describes the installation of setuptools / ez_install extremely > > well. > > > > Bear in mind that that (I think) with Ubuntu 9.04 you will need to "$ > > easy_install Extremes" before you install turbogears with: > > "$ easy_install -i http://www.turbogears.org/2.0/downloads/current/index > > tg.devtools" > > > > Hope that's of some help. > > > > Rob > > > > > > > > On May 18, 12:00 pm, RameshVel <[email protected]> wrote: > >> Hi, > >> > >> I have been trying to install turbogears 2 as per the > >> installation instructions using both easy_install & pip methods. It > >> throws error at Extremes/setup by as ImportError: No module named > >> ez_setup. Below the detaild error message > >> > >> Downloading Extremes-1.1.zip > >> Running setup.py egg_info for package Extremes > >> Traceback (most recent call last): > >> File "<string>", line 14, in <module> > >> File "/home/rameshv/tg2env/build/Extremes/setup.py", line 4, in > >> <module> > >> import ez_setup > >> ImportError: No module named ez_setup > >> Complete output from command python setup.py egg_info: > >> Traceback (most recent call last): > >> > >> File "<string>", line 14, in <module> > >> > >> File "/home/rameshv/tg2env/build/Extremes/setup.py", line 4, in > >> <module> > >> > >> import ez_setup > >> > >> ImportError: No module named ez_setup > >> > >> I got stuck with this problem for last 2 days. Even i tried > >> installing TG2 using same install instruction in Ubuntu 9.04, Windows > >> vista and mint 8 helena. I got the same error in all these machines. > >> > >> I am very new to TG development. And i just followed the same > >> instruction given in TG site. Can someone clarify me whether am i > >> missing something or something missed in the installation manual. It > >> would be very helpful. > >> > >> Cheers > >> Ramesh Vel > >> > >> -- > >> 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]<turbogears%[email protected]> > . > >> For more options, visit this group > >> athttp://groups.google.com/group/turbogears?hl=en. > > > > -- > > 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]<turbogears%[email protected]> > . > > For more options, visit this group at > > http://groups.google.com/group/turbogears?hl=en. > > > > > > > > -- > View this message in context: > http://old.nabble.com/ImportError%3A-No-module-named-ez_setup-tp28594365p28594869.html > Sent from the Turbogears General mailing list archive at Nabble.com. > > -- > 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]<turbogears%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/turbogears?hl=en. > > -- Michael J. Pedersen My IM IDs: Jabber/[email protected], ICQ/103345809, AIM/pedermj022171 Yahoo/pedermj2002, MSN/[email protected] -- 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.

