django - pip install askbot error - Command "python setup.py egg_info" failed with error code 1 -


i want install askbot app (http://askbot.org/doc/install.html). encountered error during installation.

i've did below actions.

1) made virtual environment under ananconda (python 3.5.2 / ubuntu 14.04)

2) installed django 1.9.8

3) made django project myproject

4) modified settings.py connect mariadb

5) installed mysql client

# sudo apt-get install libmysqlclient-dev  # pip install mysqlclient 

6) migrated

python manage.py migrate 

7) registered app

installed_apps = [     'myproject', ] 

but when try install askbot below, found error.

(envask)root@localhost:~/vikander# pip install askbot collecting askbot   downloading askbot-0.10.0.tar.gz (8.6mb)     100% |████████████████████████████████| 8.6mb 116kb/s     complete output command python setup.py egg_info:     traceback (most recent call last):       file "<string>", line 1, in <module>       file "/tmp/pip-build-vppvsnhk/askbot/setup.py", line 135        **************************************************************"""                                                                     ^     syntaxerror: missing parentheses in call 'print'      ---------------------------------------- command "python setup.py egg_info" failed error code 1 in /tmp/pip-build-vppvsnhk/askbot/ 

is python version problem? there no way install askbot under python 3.x envirionment? in advnace.

askbot not compatible python 3, changes print statement so:

print `hello world` 

into function:

print('hello world') 

more change here

you'll need find alternative, or push fix askbot repo.


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -