2.12.3-stable+timestamp.2015.08.19.00.18.03
(Running on Apache/2.4.16 (Fedora) OpenSSL/1.0.1k-fips mod_wsgi/4.4.8 
Python/2.7.10, Python 2.7.10)

So "import cx_Oracle" works in python console but when I tried using it in 
web2py it errors out.  <type 'exceptions.ImportError'>(Cannot import module 
'applications.test2.modules.cx_Oracle')

the only thing i have found is that the file structure looks different from 
cx_Oracle to another import i use.

pysnmp works in web2py and straight python:
>>> import pysnmp
>>> pysnmp.__file__
'/usr/lib/python2.7/site-packages/pysnmp/__init__.pyc'

cx_Oracle doesnt work in web2py but works in py files.
>>> import cx_Oracle
>>> cx_Oracle.__file__
'/usr/lib/python2.7/site-packages/cx_Oracle.so'


the only difference I saw was that its a .so file instead of __init__.pyc

Any thoughts.  Trying to get this to work in Fedora 22.  Thanks!

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.

Reply via email to