+1 Personally, I'd really recommend having virtualbox/vmware instance running the same stack as your production environment (i.e. the env where you are going to deploy code to) so you can ensure no horrible sys lib bugs kick in (lxml is a pain for this!!). But if this is too much to start with, then a virtualenv alone is still sufficient.
And like Kurtis mentioned - having a clear separation between your host machine and your dev environment really is going to save you a lot of headaches. On Wed, Jun 20, 2012 at 4:07 PM, Kurtis Mullins <kurtis.mull...@gmail.com>wrote: > Try "easy_install django" or "pip install django". > > Really, though -- I recommend going with a combination of Mac Brew (or > ports or whatever third-party distribution) to install Python and pip then > install virtualenv and virtualenvwrapper to create a virtual environment, > then inside of the virtual environment, install Django and your > MySQL-Python (or whatever database driver you need) > > It *sounds* like a lot of work but it will make things considerably easier > for you in the long run. > > If not, just download django (from git) and then run its setup.py and you > should be all good to go with runserver and sqlite > > > On Wed, Jun 20, 2012 at 9:19 AM, Harjot Mann <harjotmann1...@gmail.com>wrote: > >> do one thing open ur terminal and run the following command >> python >> then u will get >> Python 2.7.1+ (r271:86832, Apr 11 2011, 18:05:24) >> [GCC 4.5.2] on linux2 >> Type "help", "copyright", "credits" or "license" for more information. >> then type >> >>> import django >> >>> print django.get_version() >> if you have version 1.4 then it will print 1.4 >> It is just a verification that ur django is installed or not. >> >> >> On Wed, Jun 20, 2012 at 5:23 PM, Diego pascual lopez >> <azoti...@gmail.com>wrote: >> >>> >>> >>> On Wed, Jun 20, 2012 at 1:49 PM, kenneth gonsalves < >>> law...@thenilgiris.com> wrote: >>> >>>> On Wed, 2012-06-20 at 13:15 +0200, Diego pascual lopez wrote: >>>> > > try typing /path_to_django/bin/django-admin.py startproject >>>> > > >>>> > >>>> > If you don't know the path of the django-admin.py, you can type >>>> > >>>> > #which django-admin.py >>>> >>>> it will say 'no django-admin.py' >>>> >>> >>> Yes, you have reason. >>> >>> Sorry. >>> >>> -- >>>> regards >>>> Kenneth Gonsalves >>>> >>>> -- >>>> 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. >>> >> >> -- >> 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. > -- 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.