Daniel Ericsson wrote:
> On 24 aug 2012, at 12:21, Phil Dobbin wrote:
>
>> Hi, all.
>>
>> I'm getting:
>>
>> `$ type virtualenv
>> bash: type: virtualenv: not found
>> [Fri Aug 24 10:52:03 dobbin@darkstar:~ ] $ type django-admin.py
>> bash: type: django-admin.py: not found
>
> Do you have
> '/opt/local/Library/Frameworks/Python.framework/Versions/Current/bin' added
> to your PATH?
>
> $ port contents py27-virtualenv | grep bin
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/virtualenv
> /opt/local/bin/virtualenv-2.7
>
> $ port contents py27-django | grep bin/django
>
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/django-admin.py
>
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/bin/django-admin.py
>
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/bin/django-admin.pyc
> /opt/local/bin/django-admin-2.7.py
Hi, Daniel.
That did the trick. Now running:
`$ django-admin.py`
gets the desired result. Don't know if this mentioned anywhere in the
docs but if it isn't, maybe it should be. Probably at the tail end of
the install perhaps.
Thanks for your help,
Cheers,
Phil...
--
But masters, remember that I am an ass.
Though it be not written down,
yet forget not that I am an ass.
Wm. Shakespeare - Much Ado About Nothing
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users