I've been trying to setup a l2tp vpn connection for my computer, and while following the guide, I felt on a python error on line 84
link to the Openswan L2TP/IPsec VPN client setup guide.
File "/usr/local/libexec/ipsec/verify", line 84
SyntaxError: invalid syntax
Your error indicates that you are executing a
python2 script with
# python3 print('hi') # python2 print 'hi'
As described in the archlinux python wiki you may replace
python2 directly on the file and it should start running again.
You could probably do a pull request directly on the project to ask for
python3 support or at least using an
env shebang like the following:
You can also manually change the file on your system with a python2 shebang
As long as you have python2 installed on your system ;)