Mark,

Thanks for your response.  I found out what happened.  I previously
had TG2 version 1.9.7b1.  After executing the following command

% easy_install -i http://www.turbogears.org/2.0/downloads/current/index
tg.devtools

as spelled out at http://turbogears.org/2.0/docs/main/DownloadInstall.html,
I received a message stating that I already had 1.9.7b1 installed.
Then I tried using the '-U' option and it seemed to install fine but I
was getting the Import Error.

% easy_install -U -i http://www.turbogears.org/2.0/downloads/current/index
tg.devtools

After submitting my previous comment, I looked in my site-packages
directory and found that the tg.devtools package was upgraded, but the
turbogears2 package was still at 1.9.7b1.  I manually deleted the
turbogears2 package and reran the easy-install command with the '-U'
option and the latest turbogears2 package was then installed.  This
fixed the problem for me.

Scott

On Jan 8, 5:12 pm, "Mark Ramm" <[email protected]> wrote:
> can you check the version of tg you are using, because I'm
> unfortunately unable to reproduce this here...
>
> I just noticed that we're not putting an __version__ on tg, but you
> can check tg.__file__ to see the location of the file, and then make
> sure that's 2.0b2.
>
> --Mark
>
>
>
> On Thu, Jan 8, 2009 at 5:44 PM, farmerWannaB <[email protected]> wrote:
>
> > HI Mark,
>
> > Thanks for all your work on TG2!  I'm really excited about it.
>
> > After creating a new application using quickstart with authentication,
> > I'm getting the following error message when attempting to navigate to
> > the first page:
>
> > ImportError: cannot import name require
>
> > This error seems to be coming from line 3 of the
> > <app>.controllers.root.py module.  When I attempt to import tg.require
> > manually it doesn't work.  I just installed TG 2.0 b2 earlier today.
>
> > Thanks,
> > Scott
>
> > On Jan 7, 10:15 pm, "Mark Ramm" <[email protected]> wrote:
> >> This is not as big of a release as 2.0b1.   But it has lots of small
> >> improvements, and responds to all the major issues discovered in the first
> >> beta.  It should provide us with a good platform for this weekend's
> >> turbogears sprint:
>
> >>http://docs.turbogears.org/SprintSeries2009
>
> >> We plan to release another version after the sprint, and that version will
> >> either be Beta 3 or Release Candidate 1, depending on how much gets done at
> >> the sprint this weekend.
>
> >> New in this release:
>
> >> * Updated wiki 20 doc to improve some recent issues
> >> * Routes integration in tg.url broke when passing unicodes strings to the
> >> url function.  This is fixed in beta2.
> >> * Some updates to the standard template.
> >> * Error pages now displayed by more standard TG ErrorController (but still
> >> not styled to look like TG2)
> >> * Web based debugger now posts TG and dependencies when you upload a
> >> traceback
> >> * Web based debugger now allows searching of the TurboGears mailing list.
> >> * DecoratedController+Routes error with routing args fixed.
> >> * Helper + updated docs for mod-wsgi deployment
> >> * PyAMF integration example updated
> >> * Improvements to Catwalk and Sprox to address a couple small issues
>
> >> To download 2.0 beta 1, simply follow the instructions here:
>
> >>http://turbogears.org/2.0/docs/main/DownloadInstall.html
>
> >> If you're interested in the details of what's changed in this release, take
> >> a look at the changelog:
>
> >>http://trac.turbogears.org/wiki/2.0/changelog
>
> >> --
> >> Mark Ramm-Christensen
> >> email: mark at compoundthinking dot com
> >> blog:www.compoundthinking.com/blog
>
> --
> Mark Ramm-Christensen
> email: mark at compoundthinking dot com
> blog:www.compoundthinking.com/blog
--~--~---------~--~----~------------~-------~--~----~
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