On Sun, Sep 9, 2012 at 2:18 PM, djangohelp <palmtreetutor...@gmail.com> wrote: > I install it and then in the terminal when I type python -c "import django; > print(django.get_version())" > > > it says > > Traceback (most recent call last): > File "<string>", line 1, in <module> > ImportError: No module named django > shayan-afridis-imac:~ prankster284$ > > Please let me know what I'm doing wrong. Thanks in advance!
Where is django installed? Is it in your python's path? Try this: python import sys print sys.path If django is not in one of the dirs in the path, that is your issue. When I installed django on my mac I had to create a symlink: ln -s /usr/local/lib/python2.6/dist-packages/django /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/django -- 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.