How to have a sane python setup:
1. use pip and virtualenv[1]
2. ???
3. PROFIT!
Cheers,
AT
[1]
http://www.saltycrane.com/blog/2009/05/notes-using-pip-and-virtualenv-django/
On Tue, Mar 20, 2012 at 8:30 PM, jdw wrote:
> got it! This one worked. Thanks.
>
> On Tuesday, March 20, 2012 3:52:
got it! This one worked. Thanks.
On Tuesday, March 20, 2012 3:52:05 PM UTC-7, Furbee wrote:
>
> From an answer on stackoverflow.com (
> http://stackoverflow.com/questions/122327/how-do-i-find-the-location-of-my-python-site-packages-directory
> ):
>
> Enter python shell by executing python bina
>From an answer on stackoverflow.com (
http://stackoverflow.com/questions/122327/how-do-i-find-the-location-of-my-python-site-packages-directory
):
Enter python shell by executing python binary:
from distutils.sysconfig import get_python_lib
print(get_python_lib())
It usually resides in
If you're on Linux, running:
$ sudo find / -type d -name django -print
...should do the trick. On my system, it's in
'/usr/local/lib/python2.7/dist-packages/django
Cheers.
On Tue, Mar 20, 2012 at 4:30 PM, jdw wrote:
> Newbie alert...
>
> I installed Django and finished the first tutorial. On t
Newbie alert...
I installed Django and finished the first tutorial. On the second one, I
could not log in to the website because I didn't set a superuser.
Ultimately, I figured out my problem, but I realized I have no idea where I
installed Django. Is there an easy way to find out where the
5 matches
Mail list logo