<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How Install Pyrfc into AWS Databrick using Volumes in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-install-pyrfc-into-aws-databrick-using-volumes/m-p/139452#M51203</link>
    <description>&lt;P&gt;Thanks for the details. The PyRFC package is a Python binding around the SAP NetWeaver RFC SDK and requires the SAP NW RFC SDK to be present at build/run time; it does not work as a pure Python wheel on Linux without the SDK.&lt;/P&gt;
&lt;P&gt;The project is archived and no longer maintained by SAP, so installation can be brittle, and your environment must match what the SDK supports.&lt;/P&gt;
&lt;P&gt;On Linux, PyRFC builds from source and needs a C toolchain plus Cython; prebuilt wheels are only provided for some platforms (Windows/macOS and certain Ubuntu builds in the GitHub releases).&lt;/P&gt;
&lt;P&gt;PyRFC 3.x added Python 3.11 support, so using DBR with Python 3.11 is fine from a version perspective; the failures you’re seeing are almost certainly due to missing SDK headers/libs or environment variables not being visible to the install process.&lt;/P&gt;
&lt;P&gt;Step-by-step fix (Databricks cluster)&lt;BR /&gt;1) Acquire the SDK: Download SAP NW RFC SDK 7.50 PL12 from the SAP Support Portal and store the ZIP somewhere accessible (e.g., DBFS, S3). You need proper SAP credentials to access downloads.&lt;/P&gt;
&lt;P&gt;2) Upload the SDK to DBFS: Put the ZIP at /dbfs/FileStore/nwrfcsdk/nwrfc750P_12.zip (adjust name as needed).&lt;/P&gt;
&lt;P&gt;3) Create a global init script that:&lt;BR /&gt;- Installs build tooling and Cython (Linux).&lt;BR /&gt;- Unzips the SDK to a fixed path on every node.&lt;BR /&gt;- Exports SAPNWRFC_HOME and LD_LIBRARY_PATH so they’re visible to all processes (including the “libraries” user).&lt;/P&gt;</description>
    <pubDate>Tue, 18 Nov 2025 00:19:32 GMT</pubDate>
    <dc:creator>stbjelcevic</dc:creator>
    <dc:date>2025-11-18T00:19:32Z</dc:date>
    <item>
      <title>How Install Pyrfc into AWS Databrick using Volumes</title>
      <link>https://community.databricks.com/t5/data-engineering/how-install-pyrfc-into-aws-databrick-using-volumes/m-p/95354#M39083</link>
      <description>&lt;P&gt;I'm trying to install Pyrfc in a Databricks Cluster (already tried in r5.xlarge, m5.xlarge, and&amp;nbsp;c6gd.xlarge). I'm following these link.&lt;/P&gt;&lt;P&gt;&lt;A title="https://community.databricks.com/t5/data-engineering/how-can-i-cluster-install-a-c-python-library-pyrfc/td-p/8118" href="https://community.databricks.com/t5/data-engineering/how-can-i-cluster-install-a-c-python-library-pyrfc/td-p/8118" target="_blank" rel="noreferrer noopener"&gt;https://community.databricks.com/t5/data-engineering/how-can-i-cluster-install-a-c-python-library-pyrfc/td-p/8118&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But I am&amp;nbsp;still having problems installing Pyrfc&lt;/P&gt;&lt;P&gt;Set environment variables in cluster sets, and&amp;nbsp;put an init script in cluster.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 19:05:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-install-pyrfc-into-aws-databrick-using-volumes/m-p/95354#M39083</guid>
      <dc:creator>Miguel_Salas</dc:creator>
      <dc:date>2024-10-21T19:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: How Install Pyrfc into AWS Databrick using Volumes</title>
      <link>https://community.databricks.com/t5/data-engineering/how-install-pyrfc-into-aws-databrick-using-volumes/m-p/95358#M39084</link>
      <description>&lt;P&gt;More details about the error&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Library installation attempted on the driver node of cluster 0000-000000-00000 and failed. Please refer to the following error message to fix the library or contact Databricks support. Error code: DRIVER_LIBRARY_INSTALLATION_FAILURE. Error message: org.apache.spark.SparkException: Process List(/bin/su, libraries, -c, bash /local_disk0/.ephemeral_nfs/cluster_libraries/python/python_start_clusterwide.sh /local_disk0/.ephemeral_nfs/cluster_libraries/python/bin/pip install 'pyrfc==3.3.1' --disable-pip-version-check) exited with code 1.   Running command pip subprocess to install build dependencies
  Using pip 23.2.1 from /local_disk0/.ephemeral_nfs/cluster_libraries/python/lib/python3.11/site-packages/pip (python 3.11)
  Non-user install by explicit request
  Created build tracker: /tmp/pip-build-tracker-xk61ox_k
  Entered build tracker: /tmp/pip-build-tracker-xk61ox_k
  Created temporary directory: /tmp/pip-install-y24e5y8f
  Created temporary directory: /tmp/pip-ephem-wheel-cache-462pfql0
  Looking in indexes: https://pypi.org/simple, &lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 21 Oct 2024 19:26:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-install-pyrfc-into-aws-databrick-using-volumes/m-p/95358#M39084</guid>
      <dc:creator>Miguel_Salas</dc:creator>
      <dc:date>2024-10-21T19:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: How Install Pyrfc into AWS Databrick using Volumes</title>
      <link>https://community.databricks.com/t5/data-engineering/how-install-pyrfc-into-aws-databrick-using-volumes/m-p/139452#M51203</link>
      <description>&lt;P&gt;Thanks for the details. The PyRFC package is a Python binding around the SAP NetWeaver RFC SDK and requires the SAP NW RFC SDK to be present at build/run time; it does not work as a pure Python wheel on Linux without the SDK.&lt;/P&gt;
&lt;P&gt;The project is archived and no longer maintained by SAP, so installation can be brittle, and your environment must match what the SDK supports.&lt;/P&gt;
&lt;P&gt;On Linux, PyRFC builds from source and needs a C toolchain plus Cython; prebuilt wheels are only provided for some platforms (Windows/macOS and certain Ubuntu builds in the GitHub releases).&lt;/P&gt;
&lt;P&gt;PyRFC 3.x added Python 3.11 support, so using DBR with Python 3.11 is fine from a version perspective; the failures you’re seeing are almost certainly due to missing SDK headers/libs or environment variables not being visible to the install process.&lt;/P&gt;
&lt;P&gt;Step-by-step fix (Databricks cluster)&lt;BR /&gt;1) Acquire the SDK: Download SAP NW RFC SDK 7.50 PL12 from the SAP Support Portal and store the ZIP somewhere accessible (e.g., DBFS, S3). You need proper SAP credentials to access downloads.&lt;/P&gt;
&lt;P&gt;2) Upload the SDK to DBFS: Put the ZIP at /dbfs/FileStore/nwrfcsdk/nwrfc750P_12.zip (adjust name as needed).&lt;/P&gt;
&lt;P&gt;3) Create a global init script that:&lt;BR /&gt;- Installs build tooling and Cython (Linux).&lt;BR /&gt;- Unzips the SDK to a fixed path on every node.&lt;BR /&gt;- Exports SAPNWRFC_HOME and LD_LIBRARY_PATH so they’re visible to all processes (including the “libraries” user).&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2025 00:19:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-install-pyrfc-into-aws-databrick-using-volumes/m-p/139452#M51203</guid>
      <dc:creator>stbjelcevic</dc:creator>
      <dc:date>2025-11-18T00:19:32Z</dc:date>
    </item>
  </channel>
</rss>

