This was on Windows.

It appears to be looking in these locations:
"/usr/lib/libodbc.so","/usr/lib/i386-linux-gnu/libodbc.so","/usr/lib/x86_64-linux-gnu/libodbc.so"

So, if it's not in those locations, you might want to add your libodbc.so 
location.

line 462 of pypyodbc.py

On Tuesday, February 5, 2013 12:26:32 PM UTC-7, Massimo Di Pierro wrote:
>
> Which os? Not for me.
>
> On Tuesday, 5 February 2013 12:53:07 UTC-6, Derek wrote:
>>
>> As I said, I edited dal.py and replaced references to pyodbc to pypyodbc 
>> and that seemed to work. I believe the only adapter referencing it as a 
>> driver was the mssql driver.
>>
>> On Tuesday, February 5, 2013 7:45:28 AM UTC-7, Massimo Di Pierro wrote:
>>>
>>> I tried:
>>>
>>> from contrib.pypyodbc import pypyodbc as pyodbc 
>>>
>>> and I get:
>>>
>>> gluon.contrib.pypyodbc.OdbcNoLibrary: 'ODBC Library is not found'
>>>
>>> Can you help?
>>>
>>> On Monday, 4 February 2013 18:09:31 UTC-6, Derek wrote:
>>>>
>>>> Any way we can add this?
>>>>
>>>> http://code.google.com/p/pypyodbc/
>>>>
>>>> It's a pure python implementation of pyodbc. I've tested it with 
>>>> pypy1.9 on web2py 2.3.2 and it works fine (yes, I edited dal.py and 
>>>> renamed 
>>>> all instances of pyodbc to pypyodbc). 
>>>>
>>>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to