Django & virtualenv
phildobbin at gmail.com
Fri Aug 24 04:16:39 PDT 2012
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 at 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
> $ port contents py27-django | grep bin/django
That did the trick. Now running:
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,
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
More information about the macports-users