First time here? Check out the FAQ!
0

askbot-setup and startforum

There are two commands askbot-setup and startforum, i have use both the commands but both are not working.

anonymous user
asked 2011-09-02 16:01:19 -0600
edit flag offensive 0 remove flag close merge delete

Comments

You are right, I get error pkg_resources.DistributionNotFound: django-celery==2.2.3 - is that what you see? Or something else?

Evgeny's avatar Evgeny (2011-09-02 16:53:26 -0600) edit

This error went away after I ran "python setup.py install_scripts" and the script works for me. This error occurred on in my development directory where I did not update the deployment script for a while.

Evgeny's avatar Evgeny (2011-09-02 16:58:32 -0600) edit
add a comment see more comments

1 Answer

0

I think there are two possibilites: your "askbot-setup" script is out of date, in which case the problem can be fixed by command python setup.py install_scripts.

Second possibility is that the scripts are not on your system path.

One easy way to make sure that python package scripts are on your system path is to use virtual environment to install askbot into.

Then, after you type path/to/env/bin/activate, the script will be on your path.

startforum is not expected to work any more, please remove it.

Evgeny's avatar
13.2k
Evgeny
updated 2011-09-02 20:27:37 -0600, answered 2011-09-02 17:01:45 -0600
edit flag offensive 0 remove flag delete link

Comments

python setup.py install_scripts works

Gaurav's avatar Gaurav (2011-09-02 20:20:43 -0600) edit
add a comment see more comments