dlamotte / django-tagging

Automatically exported from code.google.com/p/django-tagging
Other
0 stars 0 forks source link

Installation error: ImportError: No module named django.utils.translation #135

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When I attempt to install the svn release (revision 130):

sudo python setup.py install

Traceback (most recent call last):
  File "setup.py", line 49, in <module>
    version_tuple = __import__('tagging').VERSION
  File "/Applications/Django/django-tagging-trunk/tagging/__init__.py",
line 1, in <module>
    from django.utils.translation import ugettext as _
ImportError: No module named django.utils.translation

The translation module exists and I can import it fine from the python
interpreter:
$ python
Python 2.5.1 (r251:54863, Jan 22 2008, 21:21:10) 
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from django.utils.translation import ugettext as _
>>> 

This problem does not exist in version 0.2.1000000000000001, which installs
successfully (but is not compatible with the SVN release of Django - see
http://article.gmane.org/gmane.comp.python.django.user/54365).

I have version Django v. 0.97-pre-SVN-7873 installed.

Original issue reported on code.google.com by odio....@gmail.com on 10 Jul 2008 at 10:29

GoogleCodeExporter commented 8 years ago
I've tried installing the last 10 revisions, revisions up to 124 work.  125 and
higher produce the above error on my machine.

Original comment by odio....@gmail.com on 11 Jul 2008 at 12:13

GoogleCodeExporter commented 8 years ago
Now targetting 1.0, where this is works

Original comment by jonathan.buchanan on 30 Oct 2008 at 2:35