Hello.
I am working with a Data Intelligence instance, attempting to create a Python modeling pipeline that allows me to connect to an external SQL DW. As such, I am attempting to utilise an ODBC connection.
I am attempting to install the Python package 'pyodbc' following the standard Docker process outlined in the documentation: https://help.sap.com/viewer/29ff74dc606c41acad117003f6034ac7/2.6.latest/en-US/781938a8d99944d099c94ac813962c34.html. However, this fails when I attempt to build the Docker file. This happens exclusively for the package pyodbc, as I have tested for other packages with no issues.
The code that is being run is a variation of this:
FROM $com.sap.opensuse.base RUN python3.6-m pip install pyodbc
The error that is thrown is:
error building docker image. Docker daemon error: The command '/bin/sh -c python3.6 -m pip --no-cache-dir install pyodbc' returned a non-zero code: 1
I am unable to figure out how to find more detailed error logs for each build attempt. I have tried multiple variants of the above code with different paths, specifying version numbers, and so on.
Could anyone please explain why it is failing here?
Thank you.