We have been using python with freeradius for a little over a year with much success. Now we would like to upgrade Python from 2.7 to 3.x. Perhaps this only reflects my ignorance, but how can I configure freeradius to use python3? Currently, the python executable is a symlink /usr/bin/python -> python2 I don't expect this symlink to change based on the way our enterprise does things. Or does it actually even use that? Maybe it is only configured via python_path in mods-available/python. Please advise. Dan Mullen
On Apr 9, 2020, at 3:26 PM, Dan M <dan.red.beard@gmail.com> wrote:
We have been using python with freeradius for a little over a year with much success. Now we would like to upgrade Python from 2.7 to 3.x.
Perhaps this only reflects my ignorance, but how can I configure freeradius to use python3?
Upgrade to 3.0.21. It has mods-available/python3. This also requires rlm_python3.
Currently, the python executable is a symlink /usr/bin/python -> python2 I don't expect this symlink to change based on the way our enterprise does things. Or does it actually even use that?
The python3 module doesn't use the python executable. Alan DeKok.
participants (2)
-
Alan DeKok -
Dan M