syntax error in YOWSUP

349 views Asked by At

i am following this tutorial : http://xebee.xebia.in/index.php/2013/11/25/yowsup-the-whatsapp-api/

in step 3 when i execute this on my terminal :

$ python yowsup-cli -c config.example -r sms

i get a syntax error saying

  File "yowsup-cli", line 98
    unistr = str if sys.version_info >= (3, 0) else unicode
                  ^
SyntaxError: invalid syntax

can any body help how can i remove this error

i m a newbie to python

1

There are 1 answers

0
Arnab Biswas On

yeah that was an old version error. anyway if you get any problem with the regitration process then you can try this guide yowsup registration guide.