I am using a third party library great expectation inside a Python code. When I am running this python code outside locally it runs fine but when its executed as Stored proc which in turns runs the code on the server side I am getting the below error. Any inputs on what might be causing it to throw this error as its platform specific.
File "/usr/lib/python_udf/21f89b424649b316c5ea9eaf04d39e5b612b65112a5267cca024d221856e2cb7/lib/python3.8/platform.py", line 1212, in platform
libcname, libcversion = libc_ver(sys.executable)
File "/usr/lib/python_udf/21f89b424649b316c5ea9eaf04d39e5b612b65112a5267cca024d221856e2cb7/lib/python3.8/platform.py", line 193, in libc_ver
with open(executable, 'rb') as f:
IsADirectoryError: [Errno 21] Is a directory: '/'
Hi Team,
I am using a third party library great expectation inside a Python code. When I am running this python code outside locally it runs fine but when its executed as Stored proc which in turns runs the code on the server side I am getting the below error. Any inputs on what might be causing it to throw this error as its platform specific.
File "/usr/lib/python_udf/21f89b424649b316c5ea9eaf04d39e5b612b65112a5267cca024d221856e2cb7/lib/python3.8/platform.py", line 1212, in platform libcname, libcversion = libc_ver(sys.executable) File "/usr/lib/python_udf/21f89b424649b316c5ea9eaf04d39e5b612b65112a5267cca024d221856e2cb7/lib/python3.8/platform.py", line 193, in libc_ver with open(executable, 'rb') as f: IsADirectoryError: [Errno 21] Is a directory: '/'