First time here? Check out the FAQ!
1

No module named avatars
 

Hello everyone.

It is very hard to install askbot to my site. It is giving errors continual. I am solving these step by step but now i stacked. It gives me this error.

' ImproperlyConfigured: Error importing middleware askbot.middleware.view_log: "No module named avatars" '

I installed django-avatar, i tried different names like avatar or avatars, i changed the words within askbot directory like avatar (not s), but no reason.

Please help me to install this askbot correctly. Thank you.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
anonymous user
asked 13 years ago

Comments

Sorry, where did you try avatars? In the settings.py you'd need to add "avatar" to the list of installed apps.
Evgeny's avatar Evgeny (13 years ago)
see more comments

1 Answer

0

Hi, please take a look at this doc page:

http://askbot.org/doc/optional-modules.html#uploaded-avatars

The app needs to come from the git repo, the actual command is in the documentation.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 13 years ago
link

Comments

I did it also, but no reason. Thank you for your help.
ekiny's avatar ekiny (13 years ago)
I would uninstall django-avatar and then re-install it again. It is possible that you have another copy somewhere else. Are you using virtualenv?
Evgeny's avatar Evgeny (13 years ago)
see more comments