cofin commented on issue #20371:
URL: https://github.com/apache/superset/issues/20371#issuecomment-1155750921
I'm working through a similar problem now. Did you install the Oracle
instant client into the Docker container or system you are running superset
from? cx_oracle requires either the instant client or full Oracle client. The
recently released `python-oracledb` no longer has this requirement, so
installation should get easier in the near future.
I'm using the following in my Docker container to install the latest SQL
client:
```
RUN mkdir -p /usr/share/oracle/network/admin \
&& cd /usr/share/oracle \
&& apt-get update -y \
&& apt-get install -y --no-install-recommends git ca-certificates wget
build-essential unzip curl libaio1 libaio-dev \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get purge -y --auto-remove -o
APT::AutoRemove::RecommendsImportant=false \
&& wget
https://download.oracle.com/otn_software/linux/instantclient/instantclient-basiclite-linuxx64.zip
\
&& unzip instantclient-basiclite-linuxx64.zip \
&& rm -f instantclient-basiclite-linuxx64.zip \
&& cd /usr/share/oracle/instantclient* \
&& rm -f *jdbc* *occi* *mysql* *README *jar uidrvci genezi adrci \
&& echo /usr/share/oracle/instantclient* >
/etc/ld.so.conf.d/oracle-instantclient.conf \
&& ldconfig \
&& echo
'local_xe=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=xepdb1)))'
> /usr/share/oracle/network/admin/tnsnames.ora```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]