Problem in import sqlite3 library in freeradius python module
Alex.Perez-Mendez at jisc.ac.uk
Mon Mar 4 10:16:36 CET 2019
> El 4/3/19 a las 6:54, Mehrzad Moghaddas escribió:
>> I solved it ! I did run the script via python directly and got all python
>> path , ans add that to python config .
> Yep, that is required.
> Another way of doing it (sometimes better) is installing your script in
> any of the pre-defined PYTHON library paths (ej. /usr/lib/python2.7/)
> and leave the "python_path" module configuration item untouched.
In relation with this, I always wanted to add a "python_path_add" (or
similar), which just adds an additional path to the system ones without
having to specify them all. I'll look into how to do this, since the
Python API does not allow it directly, but you can always do a get + add
the new one + set to get a similar result.
Does this sound like something you might want, Alan?
>> On Sun, Mar 3, 2019 at 8:52 PM Alan DeKok <aland at deployingradius.com> wrote:
>>> On Mar 3, 2019, at 9:53 AM, Mehrzad Moghaddas <mehrzadmo at gmail.com> wrote:
>>>>> And where is the sqlite3 *library*? Not the Python module. The
>>>> "libsqlite3.so", or whatever it's called.
>>> Hmm.. it's likely a python tooling problem. I'm not a python expert, so
>>> I'm not really sure how to fix it.
>>> Alan DeKok.
>>> List info/subscribe/unsubscribe? See
>> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Technical Specialist (AAA), Trust & Identity
M (+34) 619 333 219
Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.
Jisc Services Limited is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under company number 2881024, VAT number GB 197 0632 86. The registered office is: One Castle Park, Tower Hill, Bristol BS2 0JA. T 0203 697 5800.
More information about the Freeradius-Users