On Aug 12, 12:30 pm, Alexander Gattin <xr...@yandex.ru> wrote:
> Does Windows have anything like
> LD_LIBRARY_PATH/SHLIB_PATH?

No, isn't that only if I have an actual Oracle client installed (not
the instant client)?

But great tip, wasn't exactly the solution, but your question
triggered me to check the Windows environment variables*. I included
env. variable name PATH and the value ;C:\Python31;C:\MinGW\bin;C:\TEMP
\ORAIC10\bin.
Only thing I set manually in the command prompt was: SET ORACLE_HOME=C:
\TEMP\ORAIC10 , before the build.

*=I checked the setup.py script which says:
userOracleHome = os.environ.get("ORACLE_HOME")
Checking in Visual Basic::environ("path") only included info from the
Windows env. variables, and not the ones I set via the command prompt
with PATH=%PATH%;... so I reckon if it applies to VB it also does for
os.environ

I can now import without errors!

Thanks Alexander for putting me in the right direction.


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to