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.99ks@gmail.com> wrote:
Hi,
For installing i followed their instructionsSetup¶
After doing the syncdb i am getting this import error. Can u please tell me how to install it via set.py
- 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
Thanks & Regards,
Rav!--On Thu, Sep 9, 2010 at 1:12 PM, Jitesh <eximiusguy@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-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@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-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@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-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment