demothat.blogg.se

Install oracle for mac
Install oracle for mac







install oracle for mac

This worked for me (building from source) until the last step. Lipo python.fat -remove x86_64 -output bin/python # then make your virtualenv python 32-bit only:

#Install oracle for mac install#

64 bit seems to work for me so YMMV.īasically: # compile cx_Oracle for 32-bit (requires downloading 32-bit instantclient sources)ĪRCHFLAGS="-arch i386" pip install cx_Oracle Some folks have recommended compiling for 32-bit (i386) instead, although I'm not sure why.

install oracle for mac

Tar -xzf cx_Oracle-$CX_ORA_Įnv ARCHFLAGS="-arch $ARCH" python setup.py build Last step is to simply run pip, you might have to add an arch flag: env ARCHFLAGS="-arch $ARCH" pip install cx_Oracleĭownload cx_ from Sourceforge export CX_ORA_VERSION=5.1.2 (Note I did not have to do anything with ottclasses.zip as suggested in the original utexas instructions.) If you're using Pip: Ln -s libclntsh.dylib.11.2 libclntsh.dylib Tar -xzf instantclient-sdk-$VERSION-macosx-圆4.zip Tar -xzf instantclient-basic-$VERSION-macosx-圆4.zip Unpack both files to that directory: cd $ORACLE_HOME

  • instantclient-sdk-$VERSION-macosx-圆4.zipĬreate a directory /usr/lib/share/oracle export ORACLE_HOME=/usr/lib/share/oracle.
  • instantclient-basic-$VERSION-macosx-圆4.zip.
  • Portions taken from (in case that link ever dies.)









    Install oracle for mac