Thank you Furbee. I will try later to to put the unpacked Django in the same folder as setup.py folder. I'll be back soon with the result.
On 18 Nov, 23:02, Furbee <furbeena...@gmail.com> wrote: > You can get to the python interactive interpreter by typing "python" into a > Dos shell, as long as the python executable is in your system path. The > IDLE command line should work, also. In the Python folder there should be a > site-packages folder which contains a folder named django. The "import > django" command is attempting to import from there by default. So, if that > is failing, the django site package must not be installed properly. When > you download the Django package as a zip file, extract it to a location. > From that location there is a setup.py file. From a shell go to that > location and enter "python setup.py install". This should install the > Django framework into the Python site-packages folder, and the "import > django" should work from a python shell. > > Cheers, > > Furbee > > > > > > > > On Fri, Nov 18, 2011 at 12:14 PM, Jenny <email....@gmail.com> wrote: > > I am as newbie as for two hours ago I installed Python 2.7.2 and an > > hour ago installed BitNami DjangoStack 1.3.1 on my Windows 7 machine. > > I am trying to start with a tutorial on the Djangos website which > > says: > > "You can tell Django is installed by running the Python interactive > > interpreter and typing import django" > > > I assume that the "Python interactive interpreter" is IDLE (Python > > GUI). When i run it and on the command line I write "import django", I > > get a message as follwoing: > > >>> import django > > Traceback (most recent call last): > > File "<pyshell#6>", line 1, in <module> > > import django > > ImportError: No module named django > > > Would you please give me help some advice what to do here? Many thanks. > > > -- > > 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.