Skip to content

Instantly share code, notes, and snippets.

@kgruel
Last active November 14, 2016 09:49
Show Gist options
  • Save kgruel/41b62d0cca51e381b38eaf7622da895d to your computer and use it in GitHub Desktop.
Save kgruel/41b62d0cca51e381b38eaf7622da895d to your computer and use it in GitHub Desktop.
Installing cx_Oracle on Windows 10 (11/13/2016)
• Install Python 3.5: https://www.python.org/downloads/release/python-352/ (x64)
• Download Oracle Instant Client and SDK: http://www.oracle.com/technetwork/topics/winx64soft-089540.html
• Oracle account is required: https://login.oracle.com/mysso/signon.jsp > click Create Account
• Download: instantclient-basic-windows.x64-12.1.0.2.0.zip
• Download: instantclient-sdk-windows.x64-12.1.0.2.0.zip
• Extract folder contents to C:/Oracle (ex: C:/Oracle/instantclient_12_1)
• Click Start > type System > open System
• Click Advanced system settings
• Click Environment Variables
• Under System variables click New
• Variable name: ORACLE_HOME
• Variable value: C:/Oracle/instantclient_12_1
• Click OK
• Double click the Path system variable
• Click New
• Enter: C:/Oracle/instantclient_12_1
• Click OK x3
• Install Microsoft Visual C++ Build Tools: http://landinghub.visualstudio.com/visual-cpp-build-tools
• Click Start > type cmd > open cmd
• Type: pip install cx_Oracle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment