Ask Your Question
0

askbot-setup and startforum

asked 2011-09-02 16:01:19 -0500

anonymous user

Anonymous

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

edit retag flag offensive 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 gravatar imageEvgeny ( 2011-09-02 16:53:26 -0500 )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 gravatar imageEvgeny ( 2011-09-02 16:58:32 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2011-09-02 17:01:45 -0500

Evgeny gravatar image

updated 2011-09-02 20:27:37 -0500

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.

edit flag offensive delete link more

Comments

python setup.py install_scripts works

Gaurav gravatar imageGaurav ( 2011-09-02 20:20:43 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-09-02 16:01:19 -0500

Seen: 178 times

Last updated: Sep 02 '11