Problem in import sqlite3 library in freeradius python module

Alex Perez-Mendez Alex.Perez-Mendez at jisc.ac.uk
Mon Mar 4 10:13:09 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.

Alejandro
>
> 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.
>>> /usr/lib/x86_64-linux-gnu/libsqlite3.so
>>    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
>> http://www.freeradius.org/list/users.html
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

-- 
Alejandro Perez-Mendez
Technical Specialist (AAA), Trust & Identity
M (+34) 619 333 219
Skype alejandro_perez_mendez
jisc.ac.uk

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 mailing list