Yes, the install worked.  If you can import a module without error,
it's installed successfully.

Mostly. ;)  You can also successfully import a module even if it is
not on PYTHON_PATH, if you are in the same directory as the module.

---Peter Herndon


On 7/9/08, MadMax007 <[EMAIL PROTECTED]> wrote:
>
> Thanks for the links I'll check them out
>
> One last question, I re-did the installation for Django using some
> instructions I found on Google. When I open Python now and type:
>
>>>> import.django
>>>> django.VERSION
>>>> (0,96 ) "There's something else after the 0, 96 but I can't remember
>>>> what it is sorry, (I'm writing this post from work)
>
> Does this mean that the install worked this time ?
>
> On Jul 8, 11:04 pm, Julien Phalip <[EMAIL PROTECTED]> wrote:
>> Apparently Django is not present in the PYTHONPATH and therefore not
>> reachable by Python.
>> I'm not a Mac user, but some help can be found on google.
>>
>> Try there for
>> example:http://antoniocangiano.com/2007/12/22/how-to-install-django-with-mysq...http://www.rhonabwy.com/wp/2006/07/20/installing-django-on-macos-x-de...
>>
>> In the first link, the section "Telling Python where Django is" looks
>> like what you're after.
>>
>> Cheers,
>>
>> Julien
>>
>> On Jul 9, 12:34 pm, MadMax007 <[EMAIL PROTECTED]> wrote:
>>
>> > Ok, for the PYTHONPATH I got:
>>
>> > >>> import sys
>> > >>> print sys.path
>>
>> > ['', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
>> > python25.zip', '/System/Library/Frameworks/Python.framework/Versions/
>> > 2.5/lib/python2.5', '/System/Library/Frameworks/Python.framework/
>> > Versions/2.5/lib/python2.5/plat-darwin', '/System/Library/Frameworks/
>> > Python.framework/Versions/2.5/lib/python2.5/plat-mac', '/System/
>> > Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-
>> > mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/
>> > Versions/2.5/Extras/lib/python', '/System/Library/Frameworks/
>> > Python.framework/Versions/2.5/lib/python2.5/lib-tk', '/System/Library/
>> > Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload', '/
>> > Library/Python/2.5/site-packages', '/System/Library/Frameworks/
>> > Python.framework/Versions/2.5/Extras/lib/python/PyObjC']
>>
>> > Hope this tells you something, I relatively new to Apple computers so
>> > I feel a bit lost, and to top things off, I'm new to Python as well :
>> > (
>>
>> > On Jul 8, 5:42 pm, Julien Phalip <[EMAIL PROTECTED]> wrote:
>>
>> > > Hi,
>>
>> > > This means that Django is not in the PYTHONPATH. To check what's in
>> > > that path, run the following in Python:
>>
>> > > >>> import sys
>> > > >>> print sys.path
>>
>> > > On Jul 9, 9:35 am, Juanjo Conti <[EMAIL PROTECTED]> wrote:
>>
>> > > > How did you exactly install it?
>> > > > Which folders are in your PYTHONPATH?
>>
>> > > > Juanjo
>> > > > --
>> > > > mi blog:http://www.juanjoconti.com.ar
> >
>

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