Try typing the following:

python manage.py shell

from the python shell, type:

import tagging
tagging.VERSION

Regards


On Dec 9, 8:24 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> hi
> I got it from trunk,and the version is 0.3. After I installed
> tagging , I cannot import it. The error information is following:
>
> Thank you very much
>
> -----------------------------------------------------------------------
> IDLE 1.2.2
>
> >>> import tagging
>
> Traceback (most recent call last):
>   File "<pyshell#0>", line 1, in <module>
>     import tagging
>   File "C:\Python25\Lib\site-packages\tagging\__init__.py", line 3, in
> <module>
>     from tagging.managers import ModelTaggedItemManager, TagDescriptor
>   File "C:\Python25\Lib\site-packages\tagging\managers.py", line 5, in
> <module>
>     from django.contrib.contenttypes.models import ContentType
>   File "C:\Python25\Lib\site-packages\django\contrib\contenttypes
> \models.py", line 1, in <module>
>     from django.db import models
>   File "C:\Python25\Lib\site-packages\django\db\__init__.py", line 9,
> in <module>
>     if not settings.DATABASE_ENGINE:
>   File "C:\Python25\Lib\site-packages\django\conf\__init__.py", line
> 28, in __getattr__
>     self._import_settings()
>   File "C:\Python25\Lib\site-packages\django\conf\__init__.py", line
> 57, in _import_settings
>     raise ImportError("Settings cannot be imported, because
> environment variable %s is undefined." % ENVIRONMENT_VARIABLE)
> ImportError: Settings cannot be imported, because environment variable
> DJANGO_SETTINGS_MODULE is undefined.
--~--~---------~--~----~------------~-------~--~----~
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