On 9/10/08, Zero <[EMAIL PROTECTED]> wrote: > > El Tue 09 Sep 2008, Florent Aide escribió: > > > On 9/9/08, German Monfort <[EMAIL PROTECTED]> wrote: > > > > [...] > > > > > But I'm getting trouble getting the unit test part working, if I create > > > a new project with > > > $ tg-admin quickstart > > > then choose any name for the project like 'test_project' > > > $ cd test_project > > > $ nosetests > > > I get an "ImportError: No module named config" error. > > > > Do you by any chance have a TurboGears2 installed on the same machine > > (or Pylons). > > I had the same issues after installing Pylons on a dev machine. > > > > Florent. > > > > > > No don't have TG2 nor pylons installed but I do have lots of other python > modules of course. > I will try a new approach, uninstall every package related to turbogears > using > apt and then use the python specific easy_install.py to install TG and all > its dependencies from there. >
To avoid breaking your distribution package manager I would recommend you use virtualenv: http://pypi.python.org/pypi/virtualenv and then do the easy_install inside the virtual-env of your choice. Florent. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---