Dragon2fly / vpngate-with-proxy

vpn gate client for linux, be able to connect to open vpn server through proxy
GNU General Public License v2.0
249 stars 71 forks source link

Error on Run #6

Closed masgandhul closed 7 years ago

masgandhul commented 7 years ago

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 7 years ago

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.