askbot-setup and startforum
There are two commands askbot-setup and startforum, i have use both the commands but both are not working.
There are two commands askbot-setup and startforum, i have use both the commands but both are not working.
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.
python setup.py install_scripts works
To enter a block of code:
Comments
You are right, I get error pkg_resources.DistributionNotFound: django-celery==2.2.3 - is that what you see? Or something else?
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.