Topic: Compiling Teeworlds with Python 2 as /usr/bin/python2
Archlinux got an update recently and now /usr/bin/python is Python 3 and Python 2 is now /usr/bin/python2. How to compile Teeworlds now?
You are not logged in. Please login or register.
Teeworlds Forum → Support → Compiling Teeworlds with Python 2 as /usr/bin/python2
Archlinux got an update recently and now /usr/bin/python is Python 3 and Python 2 is now /usr/bin/python2. How to compile Teeworlds now?
Did you try compiling the newest git version? I think there was an update to make the python scripts compatible to version 3.
If not: Fast (and hacky) way: link /usr/local/bin/python to /usr/bin/python2.
I didn't test it, but it should work. Don't forget to delete the link afterwards.
I found a clean way: just replace this
return "python " .. name
to
return "/usr/bin/python2 " .. name
in default.bam
Teeworlds Forum → Support → Compiling Teeworlds with Python 2 as /usr/bin/python2
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2009 PunBB.