Error on Run
masgandhul opened this issue · 1 comments
masgandhul commented
I'm doing neither ./run [arg] nor ./vpnproxy_tui.py and ./vpnproxy_cli.py has error. Thank you
File "vpnproxy_cli.py", line 95
print ctext('Warning: ', 'yB'),
^
SyntaxError: invalid syntax
File "vpnproxy_tui.py", line 167
print '\n' + '_' * 12 + ctext(' First time config ', 'gB') + '_' * 12 + '\n'
^
SyntaxError: invalid syntax
Dragon2fly commented
The default python
on your machine is version 3. You can check it by $ python -V
in terminal. The program requires python 2.7.x to run.
Which OS are you using?
Try $ python2 -V
to see if it is available. If not, sudo apt-get install python2.7
Then open the run
file, replace python
by python2.7
, save it.
It should work fine then.