On Nov 22, 7:50 pm, iain duncan <[EMAIL PROTECTED]> wrote:
> On Thu, 2007-22-11 at 00:38 -0800, Graham Dumpleton wrote:
> > Look at virtualenv:
>
> >  http://pypi.python.org/pypi/virtualenv
>
> > Graham
>
> Yes, it was surprisingly easy to get going. Well worth the effort! As a
> linux beginner, getting through the  tutorials might be a bit of work
> but you will be protecting yourself from mistakes that are much harder
> to untangle. And you can safely try out things like beta releases of
> python packages your apps are using.

One thing worth pointing out is that virtualenv supports an option --
no-site-packages, which isn't documented on the page referred to. This
option is extremely useful if you already have lots of crud installed
in the standard installed version of Python as it will effectively
give you a clean slate. It means you have to reinstall everything you
need in the virtual Python environment, but that is somewhat the point
of it as it specifically avoids strange things happening where you
have existing incompatible versions of packages in the standard Python
installation.

Where the OP has already installed TurboGears in standard Python site-
packages, I would be strongly recommending they use the --no-site-
packages option. Thus:

  virtualenv --no-site-packages TURBOGEARS-ENV-1
  source TURBOGEARS-ENV-1/bin/activate
  easy_install "TurboGears=1.0.4b2"

>From there create new TurboGears site and run it.

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