On Mon, Apr 9, 2012 at 4:53 PM, William Deegan <b...@idealgov.com> wrote:
> Larry,
>
> Why not use virtualenv? Or buildout?

I am not familiar with either one of those. I use my mac for
development for a specific client. I need my environment to match
their's as much as possible. They had been using -r 13034 from SVN and
they just upgraded to 1.4 from git. So I  wanted to do the same.


> On Apr 7, 2012, at 3:02 PM, Jonathan Baker wrote:
>
> Ah, good to know. Apologies, but I glanced over your original code to
> quickly and thought you renamed the directory. Glad it worked out.
>
> On Sat, Apr 7, 2012 at 3:54 PM, Larry Martell <larry.mart...@gmail.com>
> wrote:
>>
>> On Sat, Apr 7, 2012 at 3:46 PM, Jonathan Baker
>> <jonathandavidba...@gmail.com> wrote:
>> > I'm guessing that your $PATH is configured to look for django in it's
>> > old
>> > location, and not the new one.
>>
>> No it's not that (the new location is the same as the old). But I
>> figured it out - the django python package is apparently a
>> subdirectory of the git repository. I did this:
>>
>> mv django django.git
>> ln -s django.git/django django
>>
>> And now it's finding it.
>>
>>
>> >
>> > On Sat, Apr 7, 2012 at 3:33 PM, Larry Martell <larry.mart...@gmail.com>
>> > wrote:
>> >>
>> >> I'm on a mac, running Mac OS X Version 10.5.8 (Leopard). I was running
>> >> django -r 13034 that I got from SVN. I am trying to upgrade to 1.4
>> >> from git. After I upgrade, python can no longer find django. Here's
>> >> what I did:
>> >>
>> >> $ cd /usr/local/lib/python2.6/dist-packages
>> >> $ sudo mv django/ django-13034
>> >> $ sudo git clone https://github.com/django/django.git django
>> >> $ python
>> >> Python 2.6.7 (r267:88850, Jan 11 2012, 06:42:34)
>> >> [GCC 4.0.1 (Apple Inc. build 5490)] on darwin
>> >> Type "help", "copyright", "credits" or "license" for more information.
>> >> >>> import django
>> >> Traceback (most recent call last):
>> >>  File "<stdin>", line 1, in <module>
>> >> ImportError: No module named django
>> >>
>> >> If I switch back:
>> >>
>> >> $ sudo mv django django1.4
>> >> $ sudo mv django-13034/ django
>> >>
>> >> It again finds it:
>> >>
>> >> $ python
>> >> Python 2.6.7 (r267:88850, Jan 11 2012, 06:42:34)
>> >> [GCC 4.0.1 (Apple Inc. build 5490)] on darwin
>> >> Type "help", "copyright", "credits" or "license" for more information.
>> >> >>> import django
>> >> >>> ^D
>> >>
>> >> Anyone know what's wrong?
>> >>
>> >> --
>> >> 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.
>> >>
>> >
>> >
>> >
>> > --
>> > Jonathan D. Baker
>> > Web Developer
>> > http://jonathandbaker.com
>> > 303.257.4144
>> >
>> > --
>> > 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.
>>
>
>
>
> --
> Jonathan D. Baker
> Web Developer
> http://jonathandbaker.com
> 303.257.4144
>
> --
> 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.

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