First time here? Check out the FAQ!
0

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?

Micks's avatar
1
Micks
asked 2011-09-23 04:53:56 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Fixed in 0.7.23, keyword with was introduced in python 2.6, we overlooked it.

Evgeny's avatar
13.2k
Evgeny
answered 2011-09-23 06:10:20 -0600
edit flag offensive 0 remove flag delete link

Comments

thanks, askbot was successfully installed!

Micks's avatar Micks (2011-09-23 06:29:16 -0600) edit
add a comment see more comments