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.

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

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 (13 years ago)

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 (13 years ago)
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.

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
updated 13 years ago, answered 13 years ago
link

Comments

python setup.py install_scripts works

Gaurav's avatar Gaurav (13 years ago)
see more comments