zvovov / whatsapp-web

WhatsApp chat from [command line, terminal, console, cli] :no_mobile_phones:
MIT License
310 stars 76 forks source link

python chat.py test downt work #7

Closed MarvinMedia closed 6 years ago

MarvinMedia commented 6 years ago

python chat.py test File "chat.py", line 209 sys.exit(print(e, decorateMsg("\n\tChromedriver Error. Read the above error (if any), then\n\tCheck if installed chromedriver version is compatible with installed Chrome vesion.", bcolors.WARNING))) ^ SyntaxError: invalid syntax

masterwaqar commented 6 years ago

pip3 install chromedriver

edit: Just realize "Check if" is seperate line while "installed chromedriver" is next so if you are using vi editor, move your cursor to "installed" and press "J" it will merge both lines, should solve this issue.

mostrosonido commented 6 years ago

Same Problem (Ubuntu 15 (x64): File "chat.py", line 209 sys.exit(print(e, decorateMsg("\n\tChromedriver Error. Read the above error (if any), then\n\tCheck if installed chromedriver version is compatible with installed Chrome vesion.", bcolors.WARNING))) ^ SyntaxError: invalid syntax

zvovov commented 6 years ago

@Marvin-Media @mostrosonido Use python3, not python2 check your python version by typing "python --version" and "python3 --version". Whichever command returns python 3.x, use that to run this script. If none of these return python 3.x, install python 3 on your system. This script will only work with python 3, and not with python 2