Good luck with installing MySQL-python. You'll probably see an error at some
point that the Module MySQLdb is missing if you use MySQL and don't install
it. Last time, with Snow Leapord, I had to install "Mac Ports" to get it
working.

If you don't want to use the complexity of the virtual environment, just run
"sudo easy_install django" or "sudo pip install django" from your terminal.
This will install Django system-wide.

Of course a virtual environment seems to be a good idea by consensus and
Tom's instructions include a specific Django version which is the latest
stable available.

On Thu, Oct 27, 2011 at 9:59 AM, Tom Evans <tevans...@googlemail.com> wrote:

> On Thu, Oct 27, 2011 at 2:43 PM, Andre Terra <andrete...@gmail.com> wrote:
> > You can run different versions of python using virtualenv [1]. It is
> hands
> > down the best way to handle multiple python environments.
> >
> > You can use virtualenvwrapper [2] to automate some of the process. I'm
> not
> > sure how good it is on Mac OS, but you should be fine. I found a link [3]
> > that looks like a tutorial, but unfortunately blogspot.com is blocked
> for
> > me, so I can't read through it to assert its quality.
> >
> >
>
> +1
>
> For my projects I use virtualenv and pip, with all the required
> packages specified in a requirements.pip file.
>
> When I want to redeploy, it is simply a case of:
>
> rm -rf environ
> virtualenv --no-site-packages environ
> source environ/bin/activate
> pip install -r requirements.pip
>
> requirements.pip is simple and looks like this:
>
> django>=1.3,<1.4
> south
> MySQL-python
> django-timezones
> (etc)
>
> Makes everything consistently reproducible. No packages get installed
> in my system python folders, and my django app is insulated from any
> packages added to the system python folders.
>
> Cheers
>
> Tom
>
> http://www.pip-installer.org/en/latest/index.html
> http://code.google.com/p/modwsgi/wiki/VirtualEnvironments
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to