Karen, thanks for your comments, you are right.
However, it turns out that the file "...\Django-1.0.2-final\django
\utils\__init__.py" has size 0, and it seems when using winzip ( I
just realized why 7-zip may have been required for unzipping), the 0
size file is *not*  written out. In fact "viewing" the file causes an
error (at least on my version winzip 7.0 SR-1). The simple work around
is to create an empty file named __init__.py in "...\Django-1.0.2-final
\django\utils".

Now the command "setup.py install" works just fine.

Jay

On Dec 31 2008, 9:14 am, "Karen Tracey" <kmtra...@gmail.com> wrote:
> On Wed, Dec 31, 2008 at 3:36 AM, mic <mina...@gmail.com> wrote:
>
> > I am a first time python/django user....
>
> > running "python setup.py install" gives me this error
>
> > Traceback (most recent call last):
> >  File "setup.py", line 69, in <module>
> >    version = __import__('django').get_version()
> >  File "C:\Django-1.0.2-final\django\__init__.py", line 13, in
> > get_version
> >    from django.utils.version import get_svn_revision
> > ImportError: No module named utils.version
>
> > Any help is appreciated.
>
> > Thanks for the help.
>
> That's odd. Do you have the files:
>
> C:\Django-1.0.2-final\django\utils\__init__.py
> C:\Django-1.0.2-final\django\utils\version.py
>
> If not, something has gone wrong with unpacking the 1.0.2 tarfile because
> those files are in it.
>
> If you do have those files, what version of Python are you using?
>
> Karen

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to