Revision history [back]
How to install askbot?
Hi! I'm using Python 2.5.2 and when I try pip install askbot
it says:
avv:/home/master# pip install askbot
Downloading/unpacking askbot
Running setup.py egg_info for package askbot
askbot/deployment/path_utils.py:113: Warning: 'with' will become a reserved keyword in Python 2.6
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/home/master/build/askbot/setup.py", line 29, in <module>
import askbot
File "askbot/__init__.py", line 16, in <module>
from askbot import patches
File "askbot/patches/__init__.py", line 7, in <module>
from askbot.deployment import package_utils
File "askbot/deployment/__init__.py", line 6, in <module>
from askbot.deployment import messages
File "askbot/deployment/messages.py", line 4, in <module>
from askbot.deployment import path_utils
File "askbot/deployment/path_utils.py", line 113
with file(file_path, 'a'):
^
SyntaxError: invalid syntax
Complete output from command python setup.py egg_info:
askbot/deployment/path_utils.py:113: Warning: 'with' will become a reserved keyword in Python 2.6
Can you explain how to install it?