i'm running apache 2.2.3 on windows xp and have python 2.5 and mysql 5 installed. i'm having problems installing django. please give me some help.
i created a folder "django" in my c:\python25\lib\site-packages\
then i used svn to stuff it with the latest build (in trunk)
i copied my bin\django-admin.py into the scripts folder of python
i added c:\python25\, c:\python25\scripts\ to my path variable
now, i can create and folder, go inside it through the command prompt and use startproject to create a new project folder with the initial files. but when i call
Expand|Select|Wrap|Line Numbers
- python manage.py runserver
Expand|Select|Wrap|Line Numbers
- Traceback (most recent call last):
- File "manage.py", line 2, in ?
- from django.core.management import execute_manager
- ImportError: No module named django.core.management
PS: I see something odd. When I am in the python folder, and call "import django" through the interactive interpreter, it works fine. but not in case i run the python interpreter from any other folder. something else might be wrong. perhaps paths or something. am i on the right lead?