Thanks Jarek. I got it to work -- it is actually not the /opt/local/bin, 
but rather the 
/opt/local/Library/Frameworks/Python.framework/Versions/Current/bin that 
has the "right" python. Thanks for your help!

I still don't like that there are multiple versions of Python on my 
computer, though :-(.

Does anyone know if the BSDs have this problem? I'm thinking of 
switching rather soon.

David

Jarek Zgoda wrote:
> Wiadomość napisana w dniu 2008-10-12, o godz. 17:26, przez David  
> Koppstein:
>
>   
>> I have updated my $PATH variable properly:
>> /sw/bin:/sw/sbin:/macosx-bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/ 
>> local/bin:/usr/X11/bin:/usr/X11R6/bin:/Users/david/bin:/sw/bin:/sw/ 
>> sbin:/Users/david/godi/bin:/Users/david/godi/sbin:/usr/local/ 
>> smlnj-110.67/bin:/opt/local/bin:/opt/local/sbin
>>
>> Has anyone installed Django successfully using MacPorts? I really like
>> the idea of MacPorts as a philosophy, especially since it's derived  
>> from
>> BSD, but it seems poorly integrated with the existing infrastructure.
>>     
>
>
> I did this recently. And it works, but my path looks quite different:
>
> jarek:~$ echo $PATH
> /opt/local/bin:/opt/local/sbin:/opt/local/Library/Frameworks/ 
> Python.framework/Versions/Current/bin:/usr/bin:/bin:/usr/sbin:/sbin:/ 
> usr/local/bin:/usr/X11/bin
> jarek:~$ python
> Python 2.5.2 (r252:60911, Sep 28 2008, 15:23:45)
> [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>  >>> import django
>  >>> django.__file__
> '/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
> python2.5/site-packages/django/__init__.pyc'
>  >>>
>
> What is worth noticing, the /opt/lcoal/bin path comes first on list.
>
>   


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