Database DataWarehousing (MOSC)

MOSC Banner

Help needed to install cx_Oracle on oracle cloud shell

I’m trying to install the cx_Oracle Python package in Oracle Cloud Shell, but I’ve encountered a few errors during the installation process.

Here’s the problem I’m facing:

When I try to install cx_Oracle via pip, I get the following error related to building the package:

Building wheels for collected packages: cx-oracle
Building wheel for cx-oracle (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for cx-oracle (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
running bdist_wheel
running build
running build_ext
building 'cx_Oracle' extension
creating build/temp.linux-aarch64-cpython-38/odpi/src

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center