Sorry to bother with more newbie questions. As I said before, I
managed to understand the satchmo strucutre, so I
* Installed django and satchmo somewhere in the PYTHONPATH (in fact,
that part was already done)
* Created a satchmo project under my user (/Users/guioconnor/Django/
mystore)
* Copied the settings files and customized them (mostly I changed only
the database information and language was left untouched with en-us)
* Copied tax and load_data to the root of my application: /Users/
guioconnor/Django/mystore (as described in step eight on both Bruce's
step-by-step guide and this doc:
http://www.satchmoproject.com/trac/wiki/SatchmoInstallation)
* Then I tried to run ./load_data.py on that dir and I got this error
"ImportError: No module named encoding"
I tried to google around for an answer, but found none. Any ideas?
Maybe it is something that hasn't been properly cleaned from my
previous attempts. Here's the complete error log
[/Users/guioconnor/Django/mystore]$ ./load_data.py
Traceback (most recent call last):
File "./load_data.py", line 17, in <module>
from django.contrib.sites.models import Site
File "/Library/Python/2.5/site-packages/django/contrib/sites/
models.py", line 9, in <module>
class Site(models.Model):
File "/Library/Python/2.5/site-packages/django/db/models/base.py",
line 30, in __new__
new_class.add_to_class('_meta', Options(attrs.pop('Meta', None)))
File "/Library/Python/2.5/site-packages/django/db/models/base.py",
line 169, in add_to_class
value.contribute_to_class(cls, name)
File "/Library/Python/2.5/site-packages/django/db/models/
options.py", line 53, in contribute_to_class
setattr(self, 'verbose_name_plural',
meta_attrs.pop('verbose_name_plural', self.verbose_name + 's'))
File "/Library/Python/2.5/site-packages/django/utils/functional.py",
line 42, in __wrapper__
res = self.__func(*self.__args, **self.__kw)
File "/Library/Python/2.5/site-packages/django/utils/translation/
trans_real.py", line 268, in gettext
_default = translation(settings.LANGUAGE_CODE)
File "/Library/Python/2.5/site-packages/django/utils/translation/
trans_real.py", line 197, in translation
default_translation = _fetch(settings.LANGUAGE_CODE)
File "/Library/Python/2.5/site-packages/django/utils/translation/
trans_real.py", line 180, in _fetch
app = getattr(__import__(appname[:p], {}, {}, [appname[p+1:]]),
appname[p+1:])
File "/Library/Python/2.5/site-packages/satchmo/caching/
__init__.py", line 5, in <module>
from django.utils.encoding import smart_str
ImportError: No module named encoding