Ask Your Question

Not able to configure ASKBOT as seperate django application

asked 2011-11-17 06:49:58 -0600

anonymous user


I wanted try this Askbot so downloaded to my home folder, askbot-setup script worked but if try to run it gives me following error -

Error: Can't find the file '' in the directory containing './'. It appears you've customized things. You'll have to run, passing it your settings module. (If the file does indeed exist, it's causing an ImportError somehow.)

I'm setting my pythonpath to same as the container directory of askbot. I'm new to django & python, please help me to sort this problem.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-11-17 07:28:55 -0600

Evgeny gravatar image

Hello, the pythonpath must also include the parent directory of your whole django project - the one that usually contains

If you already had before adding askbot - then you'll need to update the and manually. askbot-setup is not attempting to fix the project files.

It also may happen that there is an error during execution of the file - in that case some debugging might help to figure out what goes wrong - just place print statement somewhere in the middle of the file, then see if it works. Then move around that statement to see what breaks.

In case you are adding askbot to an existing site you'll have to adjust and manually. The templates are available in askbot/setup_templates directory.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools


Asked: 2011-11-17 06:49:58 -0600

Seen: 168 times

Last updated: Nov 17 '11