|
List Info
Thread: Very Easy Question
|
|
| Very Easy Question |

|
2007-12-19 14:55:32 |
Hi, This should take 2 seconds for an experience Django
user.
I'm trying to install Django on windows XP. I've installed
python 2.5
and MySQL with MySQLdb as the interface.
However when I try installing django from DOS I get this
error
C:Django-0.96.1>setup.py install
running install
running build
running build_py
error: package directory 'django' does not exist
There is actually a django subdirectory in Django-0.96.1 so
I can't
figure it out.
Please Help!
--~--~---------~--~----~------------~-------~--~----~
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-unsubscribe googlegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: Very Easy Question |

|
2007-12-20 12:57:11 |
Looks strange, I have never used "install.py" for
WinXP, see this
tutorial: http://th
inkhole.org/wp/django-on-windows/.
On 19 ÄÅË, 23:55, Trev <trevorcle... yahoo.com> wrote:
> Hi, This should take 2 seconds for an experience Django
user.
> I'm trying to install Django on windows XP. I've
installed python 2.5
> and MySQL with MySQLdb as the interface.
> However when I try installing django from DOS I get
this error
>
> C:Django-0.96.1>setup.py install
> running install
> running build
> running build_py
> error: package directory 'django' does not exist
>
> There is actually a django subdirectory in
Django-0.96.1 so I can't
> figure it out.
> Please Help!
--~--~---------~--~----~------------~-------~--~----~
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-unsubscribe googlegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: Very Easy Question |

|
2007-12-20 13:06:33 |
|
Don't know why you're getting that (I've never tried 0.96, only svn), but the easiest thing is just to copy the django subfolder into C:Pythong25libsite-packages
To test that it works, enter a python prompt and type:
>>> import django >>>
- Richard
On Dec 19, 2007 3:55 PM, Trev < trevorclea ry yahoo.com">trevorcleary yahoo.com> wrote:
Hi, This should take 2 seconds for an experience Django user. I9;m trying to install Django on windows XP. I've installed python 2.5 and MySQL with MySQLdb as the interface. However when I try installing django from DOS I get this error
C:Django-0.96.1>setup.py install running install running build running build_py error: package directory 'django' does not exist
There is actually a django subdirectory in Django-0.96.1
so I can't figure it out. Please Help!
--~--~---------~--~----~------------~-------~--~----~
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-unsubscribe googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---
|
| Re: Very Easy Question |
  Australia |
2007-12-21 22:32:28 |
On Wed, 2007-12-19 at 12:55 -0800, Trev wrote:
> Hi, This should take 2 seconds for an experience Django
user.
> I'm trying to install Django on windows XP. I've
installed python 2.5
> and MySQL with MySQLdb as the interface.
> However when I try installing django from DOS I get
this error
>
> C:Django-0.96.1>setup.py install
> running install
> running build
> running build_py
> error: package directory 'django' does not exist
>
> There is actually a django subdirectory in
Django-0.96.1 so I can't
> figure it out.
> Please Help!
There was a bug in setup.py in Django 0.96 that meant it
wouldn't work
on Windows. One solution is to copy setup.py from a
subversion checkout
and use that -- it's just a single self-contained file and
was fixed a
little after 0.96 was released.
Regards,
Malcolm
--
No one is listening until you make a mistake.
http://www.pointy-s
tick.com/blog/
--~--~---------~--~----~------------~-------~--~----~
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-unsubscribe googlegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: Very Easy Question |

|
2007-12-30 14:49:28 |
Thanks Malcom for clarifying that. I suspected there was
some sort of
bug so I installed the subversion instead of the official
release and
I now have everything up and running. Also, I am now using a
Postgre
database and I'm very impressed so far.
Thanks to everone who replied.
On Dec 22, 4:32 am, Malcolm Tredinnick <malc... pointy-stick.com>
wrote:
> On Wed, 2007-12-19 at 12:55 -0800, Trev wrote:
> > Hi, This should take 2 seconds for an experience
Django user.
> > I'm trying to install Django on windows XP. I've
installed python 2.5
> > and MySQL with MySQLdb as the interface.
> > However when I try installing django from DOS I
get this error
>
> > C:Django-0.96.1>setup.py install
> > running install
> > running build
> > running build_py
> > error: package directory 'django' does not exist
>
> > There is actually a django subdirectory in
Django-0.96.1 so I can't
> > figure it out.
> > Please Help!
>
> There was a bug in setup.py in Django 0.96 that meant
it wouldn't work
> on Windows. One solution is to copy setup.py from a
subversion checkout
> and use that -- it's just a single self-contained file
and was fixed a
> little after 0.96 was released.
>
> Regards,
> Malcolm
>
> --
> No one is listening until you make a mistake.http://www.pointy-s
tick.com/blog/
--~--~---------~--~----~------------~-------~--~----~
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-unsubscribe googlegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
[1-5]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|