Ask Your Question

coxandrew's profile - activity

2017-01-07 20:53:58 -0600 received badge  Notable Question (source)
2016-11-09 04:23:01 -0600 received badge  Popular Question (source)
2016-10-15 00:27:59 -0600 received badge  Famous Question (source)
2016-09-30 15:11:59 -0600 commented answer ImportError: cannot import name SortedDict

Is it an expectation to have to know Django in order to install and host Askbot? I believe I followed the Askbot Documentation pretty explicitly, so wondering if it might be out-of-date.

2016-09-30 11:54:33 -0600 asked a question ImportError: cannot import name SortedDict

During the "Initial Configuration of Askbot" step from the documentation, I ran into this error when trying to consolidate the static files:

$ python collectstatic

Traceback (most recent call last):
File "", line 10, in <module>
File "/usr/local/lib/python2.7/site-packages/django/core/management/", line 350, in execute_from_command_line
File "/usr/local/lib/python2.7/site-packages/django/core/management/", line 324, in execute
File "/usr/local/lib/python2.7/site-packages/django/", line 18, in setup
File "/usr/local/lib/python2.7/site-packages/django/apps/", line 85, in populate
  app_config = AppConfig.create(entry)
File "/usr/local/lib/python2.7/site-packages/django/apps/", line 123, in create
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/", line 37, in import_module
File "/usr/local/lib/python2.7/site-packages/askbot/deps/livesettings/", line 14, in <module>
  from askbot.deps.livesettings.functions import *
File "/usr/local/lib/python2.7/site-packages/askbot/deps/livesettings/", line 2, in <module>
  from askbot.deps.livesettings import values
File "/usr/local/lib/python2.7/site-packages/askbot/deps/livesettings/", line 12, in <module>
  from django.utils.datastructures import SortedDict
ImportError: cannot import name SortedDict

I've installed askbot using the pip install method. I'm unfamiliar with Python's package management, so not sure where to start.