Ask Your Question
0

How to install askbot?

asked 2011-09-23 04:53:56 -0600

Micks gravatar image

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2011-09-23 06:10:20 -0600

Evgeny gravatar image

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

edit flag offensive delete link more

Comments

thanks, askbot was successfully installed!

Micks gravatar imageMicks ( 2011-09-23 06:29:16 -0600 )edit

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 2011-09-23 04:53:56 -0600

Seen: 302 times

Last updated: Sep 23 '11