python custom module import
Sami Jorl
sam_lop7 at yahoo.com
Wed Apr 26 14:54:31 CEST 2017
Hi,
How is it possible to import another python module into example.py file.
When trying to import another module freeradius doesn't start and displays this error:
python_function_load - Module 'example' not found
<type 'exceptions.ImportError'> (No module named geoip2.database)
I tried adding module path in /mods-available/python like bellow but it didn't fix issue.
python_path = ${modconfdir}/${.:name}:/usr/local/lib/python2.7/
Thanks for the help
More information about the Freeradius-Users
mailing list