First time here? Check out the FAQ!

Revision history  [back]

`askbot-setup` fails with DistributionNotFound exception

I am following the install instructions on Ubuntu 16.04. I cloned the devel repository, ran the install script and created the database. In the Initial Configuration page then it says to run the askbot-setup, this is the result:

$ askbot-setup
Traceback (most recent call last):
  File "/usr/local/bin/askbot-setup", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources/", line 2927, in <module>
  File "/usr/lib/python2.7/dist-packages/pkg_resources/", line 2913, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/", line 2940, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/", line 635, in _build_master
  File "/usr/lib/python2.7/dist-packages/pkg_resources/", line 943, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/dist-packages/pkg_resources/", line 829, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'askbot' distribution was not found and is required by the application

What is wrong?