Ahh ok I think I misread your email last time then I thought the django-chat
module was named "dojango".

There's a couple ways to add django-chat to your pypath...easiest would be
to run the setup.py in the django-chat directory. After you've
unzipped/tarred the file navigate into the django-chat directory then run:
python setup.py install (it might have to be sudo'd)

then run the django shell (ie python manage.py shell) and type: import chat

If that works, then hit ctrl-d (twice) and then run the runserver and you
should be good to go.

n

On Mon, Sep 13, 2010 at 6:20 AM, ravi krishna <ravi.9...@gmail.com> wrote:

> Hi Nick,
> I checked dojango in the python path and its importing it without any
> errors. And when i run python manage,py runserver it giving  'ImportError:
> No module named Chat'. Can u please help by telling how to add the app in
> the python path.
> Rav!
>
> On Fri, Sep 10, 2010 at 11:32 PM, nick.l...@gmail.com <nick.l...@gmail.com
> > wrote:
>
>> Rav,
>>
>> There's an environmental variable called PYTHONPATH that often tripped me
>> up when I was learning python and django. You need to make sure that the
>> django-chat module is on your PYTHONPATH.
>>
>> To check that you've properly added the app to your PYTHONPATH start up
>> python then type `import dojango`
>>
>> n
>>
>> On Thu, Sep 9, 2010 at 9:37 PM, ravi krishna <ravi.9...@gmail.com> wrote:
>>
>>> Hi,
>>> For installing i followed their instructions
>>> SetupĀ¶ <http://code.google.com/p/django-chat/#Setup>
>>>
>>>    - unzip django-chat archive or checkout it
>>>    - install dojango (
>>>    http://dojango.googlecode.com/files/dojango-0.3.tar.gz) in the python
>>>    path
>>>    - create database (python manage.py syncdb --noinput), the superuser
>>>    is "admin" password "chat"
>>>    - python manage.py runserver
>>>       - url of the test page: http://localhost:8000/chat
>>>
>>> After doing the syncdb i am getting this import error. Can u please tell
>>> me how to install it via set.py
>>>
>>> Thanks & Regards,
>>> Rav!
>>>
>>>
>>> On Thu, Sep 9, 2010 at 1:12 PM, Jitesh <eximius...@gmail.com> wrote:
>>>
>>>> Have you installed the django-chat-0.2 using setup.py, (make sure it
>>>> is there in python site-packages and also check its application name
>>>> there)
>>>> and have you specified python's bin path in enviornment variables?
>>>>
>>>> On Sep 8, 11:21 am, ravi krishna <ravi.9...@gmail.com> wrote:
>>>> > Hi,
>>>> > I am newbie with python and django. I am trying out various examples
>>>> in
>>>> > order to learn it. I wanted to try using django- chat application.
>>>> > downloaded the code from site and installed dojango as instructed. But
>>>> when
>>>> > i start the server it gives me an error "ImportError: No module named
>>>> > django-chat-0.2", where django-chat-0.2 is the apllication name.
>>>> Somebody
>>>> > please give a solution.
>>>> >
>>>> > --
>>>> > Regards,
>>>> > Rav!
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Django users" group.
>>>> To post to this group, send email to django-us...@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
>>>> .
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/django-users?hl=en.
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Rav!
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Django users" group.
>>> To post to this group, send email to django-us...@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/django-users?hl=en.
>>>
>>
>>
>>
>> --
>> Guadajuko! Vamos a correr!
>>  -"Cool! we are going to run!"
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To post to this group, send email to django-us...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>
>
>
> --
> Regards,
> Rav!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>



-- 
Guadajuko! Vamos a correr!
 -"Cool! we are going to run!"

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to