On Feb 1, 2008 10:03 AM, bobhaugen <[EMAIL PROTECTED]> wrote:
>
> On Jan 31, 10:38 am, Jeff Anderson <[EMAIL PROTECTED]> wrote:
> > My personal recommendation is to remove 0.96 and
> > use django-svn.
>
> Ok, I did that. Or tried to do that, anyway.
>
> 1. Removed 0.96.1.
> 2. did: svn co http://code.djangoproject.com/svn/django/trunk/ django-
> trunk
> 3. did: sudo ln -s /django-trunk/django /usr/lib/python2.5/site-
> packages/django
> 4. did: sudo ln -s /django-trunk/django/bin/django-admin.py /usr/local/
> bin
> 5. started python interpreter
> 6, typed: import django
> got error message:  ImportError: No module named django
>
> I also noticed that svn put django-trunk under my home directory -
> that's not where 0.96.1 was installed by the package manager.
>
> And the django symlinks in site-packages and /usr/local/bin say they
> are broken.
>
> So where did I go wrong?

Always use absolute paths when creating symbolic links. Sounds like it
should be something similar to "sudo ln -s
/home/YOUR_USER/django-trunk/django
/usr/lib/python2.5/site-packages/django" for you.

This should make the import wrok.


Hope it helps,
Eduardo.

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to