BINGO!
It works :)
Wow, thanks fellas. Django is up and running and I am a happy newb!
I'll stick around and help out when I can. What comes around goes
around.
Sincerely,
stirman
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
On 5/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> no errors this time...
> I assume that's a good thing?
It means your django environment is now sane.
You should run through the tutorial again, since some incompatible
changes were made between 0.91 and trunk, but otherwise, you should
no errors this time...
electric-boogaloo:~/Development Stirman$ echo
"$HOME/Development/django_src" >
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/django.pth
electric-boogaloo:~/Development Stirman$ python
Python 2.3.5 (#1, Mar 20 2005, 20:38:20)
[GCC 3.3 2
On 5/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> echo
> `$HOME/Development/django_src` >>
> /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/django.pth
...
Sorry, I'm a dork. I did ` instead of " before.
Try this:
echo "$HOME/Development/django_src"
Only error on last line:
electric-boogaloo:~/Development Stirman$ echo
`$HOME/Development/django_src` >>
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/django.pth
-bash: /Users/Stirman/Development/django_src: is a directory
electric-boogaloo:~/Development Sti
On 5/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hmm, that thread is a little above my head...
...
> Shame, I think we were close!!!
Hmmph, if you're frustrated, introducing a bunch of new variables
isn't going to help. :)
In a terminal, do this:
echo `$HOME/Development/django_src`
Hmm, that thread is a little above my head...
I think my system is just too messy with both versions of django
installed, and two version of Python, heh.
Maybe the best course of action would be to remove Python 2.4, if I
can, remove both installs of django, and try to start over, just using
Py
On 5/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Stirman$ echo $PYTHONPATH
> /Users/Stirman/Library/Frameworks/Python.framework/Versions/2.4:/Users/Stirman/Development/django_src
>
> still same issue?!
>
> On #2, I assume you were referring to the PYTHONPATH, not the PATH,
> right?
Ye
On 5/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> On #2, I assume you were referring to the PYTHONPATH, not the PATH,
> right?
Right.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
On 5/19/06, Joseph Kocherhans <[EMAIL PROTECTED]> wrote:
> 2 problems.
>
> 1. python isn't picking up your PYTHONPATH. Try
>
>echo $PYTHONPATH
>
> at the command line. Are your sure it's set?
PYTHONPATH on OS X has issues.
See this, and associated thread:
http://mail.python.org/pipermail/pyth
Stirman$ echo $PYTHONPATH
/Users/Stirman/Library/Frameworks/Python.framework/Versions/2.4:/Users/Stirman/Development/django_src
still same issue?!
On #2, I assume you were referring to the PYTHONPATH, not the PATH,
right?
Thanks,
Stirman
--~--~-~--~~~---~--~~
Y
On 5/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> >>> import sys
> >>> print sys.path
> ['',
> '/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python23.zip',
> '/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3',
> '/System/Library/Frameworks/Python.fr
>>> import sys
>>> print sys.path
['',
'/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python23.zip',
'/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3',
'/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-darwin',
'/System/Library/Frame
On May 18, 2006, at 3:22 PM, Jeremy Dunck wrote:
> Also, I tried to repro this issue, but I can't find a 2.3 Django egg
> for download (as in the initial Django-0.91-py2.3.egg ).
>
Mac OS X python installs have some sort of weird thing going on.
I originally downloaded 0.91 and ran setup.py (or
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> same thing:
>
> File
> "/Users/Stirman/Development/django_src/django/bin/django-admin.py",
> line 2, in ?
> from django.core import management
> ImportError: No module named django.core
>
> Man, didn't know we would be jumping down
same thing:
File
"/Users/Stirman/Development/django_src/django/bin/django-admin.py",
line 2, in ?
from django.core import management
ImportError: No module named django.core
Man, didn't know we would be jumping down the rabbit hole on this
one... but I do really appreciate the help. Seems
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I think we're getting closer... fixed my .bashrc file, both the PATH
> and PYTHONPATH var's as follows:
>
> PATH=$PATH:$HOME/bin:/usr/local/bin:/usr/local/mysql/bin:$HOME/Development/django_src/django/bin
> PYTHONPATH=$HOME/Library/Frame
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> now when I execute "django-admin.py startproject mysite" I get:
I assume django-admin.py is running your default python (not 2.4).
In that python:
import sys
print sys.path
and give us those results. :)
--~--~-~--~~---
I think we're getting closer... fixed my .bashrc file, both the PATH
and PYTHONPATH var's as follows:
PATH=$PATH:$HOME/bin:/usr/local/bin:/usr/local/mysql/bin:$HOME/Development/django_src/django/bin
PYTHONPATH=$HOME/Library/Frameworks/Python.framework/Versions/2.4:$HOME/Development/django_src/dja
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Okay, my easy-install.pth only has one line now:
> /Library/Python/2.3/site-packages/setuptools-0.6a9-py2.3.egg
...
PYTHONPATH=$HOME/Library/Frameworks/Python.framework/Versions/2.4:$HOME/Development/django_src
>
> Does that help?
When
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Okay, my easy-install.pth only has one line now:
> /Library/Python/2.3/site-packages/setuptools-0.6a9-py2.3.egg
>
> I found my newer installation of django at:
> ~/Development/django_src
>
> and my PYTHONPATH variable in .bashrc:
> PYTHO
On 5/18/06, Jay Parlar <[EMAIL PROTECTED]> wrote:
> Open up the easy-install.pth file in your site-packages directory.
> There should be a reference to the Django egg in it. Delete that line.
> It's telling Python to use the Django .egg, but since you deleted the
> .egg, it complains.
Sorry for m
Oh, and, you may notice reference to two different versions of Python.
I installed 2.4, but if I just type "python", I get 2.3.5. If I type
python2.4, I get 2.4.3.
Don't know if that matters at all?
-stirman
--~--~-~--~~~---~--~~
You received this message becau
Okay, my easy-install.pth only has one line now:
/Library/Python/2.3/site-packages/setuptools-0.6a9-py2.3.egg
I found my newer installation of django at:
~/Development/django_src
and my PYTHONPATH variable in .bashrc:
PYTHONPATH=$HOME/Library/Frameworks/Python.framework/Versions/2.4:$HOME/Develo
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Still the same error... maybe this is an indication that my svn install
> didn't work as I thought it did. If I do have teh dev build of django,
> where would I find it?
That error is definitely related to the egg though. The newest de
Still the same error... maybe this is an indication that my svn install
didn't work as I thought it did. If I do have teh dev build of django,
where would I find it?
Thanks again!!!
-stirman
--~--~-~--~~~---~--~~
You received this message because you are subscr
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> errr, kind of confused:
>
> /Library/Python/2.3/site-packages/Django-0.91-py2.3.egg/django/
>
> The .egg is a directory with the django stuff in it? If I remove that
> directory and try to start a django project, I get:
>
> Traceback (m
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> errr, kind of confused:
>
> /Library/Python/2.3/site-packages/Django-0.91-py2.3.egg/django/
>
> The .egg is a directory with the django stuff in it? If I remove that
> directory and try to start a django project, I get:
I would have th
errr, kind of confused:
/Library/Python/2.3/site-packages/Django-0.91-py2.3.egg/django/
The .egg is a directory with the django stuff in it? If I remove that
directory and try to start a django project, I get:
Traceback (most recent call last):
File
"/System/Library/Frameworks/Python.framewo
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> is it possible the newer
> version of django is installed somewhere else and I'm using the old
> version?
Sure, just move the .egg file out of your site-packages directory. :)
--~--~-~--~~~---~--~~
You re
>>> import django
>>> django
Looks like you're right, but I followed the instructions to use svn to
get the dev build AFTER I installed 0.91 ... is it possible the newer
version of django is installed somewhere else and I'm using the old
version?
Thanks!
-stirman
www.stirman.net
--~--~-
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> And, the next command in the tutorial, python manage.py syncdb,
> returns:
>
> Error: Your action, 'syncdb', was invalid.
> Run "manage.py --help" for help.
import django
django.VERSION
?
It sounds like you're running on an old version o
Going through the tutorial, and when I get to the section on the first
page explaining what's in the INSTALLED APPS section of settings.py, I
stopped because my INSTALLED_APPS in empty:
INSTALLED_APPS = (
)
And, the next command in the tutorial, python manage.py syncdb,
returns:
Error: Your act
33 matches
Mail list logo