14.3.1.2 Oracle Graph Python Client
You can install the Python client by downloading the
oracle-graph-client-24.1.0.zip
file
that is shipped with Oracle Graph Server and Client or from
PyPI.
Alternatively, you can also install the python client in embedded mode.
- Installing the Python Client from PyPI
You can obtain the property graph Python client from PyPI. - Upgrading the Python Client
This section describes how to upgrade the Python client. - Installing the Python Client From the Graph Server and Client Downloads
You can download the zip file fororacle-graph-client-24.1.0
from the Graph Server and Client downloads and install the Python client. - Installing the Python Client in Embedded Mode
You can install and work with the Python client in embedded mode. - Uninstalling the Python Client
This section describes how to uninstall the Python client.
Parent topic: Graph Clients
14.3.1.2.1 Installing the Python Client from PyPI
You can obtain the property graph Python client from PyPI.
- Supported operating systems: Linux, Windows, or macOS (M1 or M2 processor)
- Supported JDK versions:
- Oracle JDK 11 or JDK 17
- OpenJDK JDK 11 or JDK 17
- Python 3.8 or later
- Ensure that you set the
JAVA_HOME
environment variable. - If you are behind a proxy, then set the
https_proxy
environment variable to the proxy server.
You can install and verify the Python client installation as shown:
Parent topic: Oracle Graph Python Client
14.3.1.2.2 Upgrading the Python Client
This section describes how to upgrade the Python client.
Parent topic: Oracle Graph Python Client
14.3.1.2.3 Installing the Python Client From the Graph Server and Client Downloads
You can download the zip file for oracle-graph-client-24.1.0
from the Graph Server and Client downloads
and install the Python client.
- System requirements:
- Supported operating system: Linux
- Supported JDK versions:
- Oracle JDK 11 or JDK 17
- OpenJDK JDK 11 or JDK 17
- Supported Python versions: Python 3.8 or 3.9
To verify that you are using the right version of the Python client, run the following command:
python3 --version
For more information on installing Python 3 on Oracle Linux, see Python for Oracle Linux.
Note:
If you are using any other operating system or Python version, then you can install the Python client from PyPI. See Installing the Python Client from PyPI for more information. - Ensure that
python3-devel
is installed in your system.sudo yum install python3-devel
Note:
See Python API Reference for more information on the Python APIs.You can perform the following steps to install and connect using the Python client:
Parent topic: Oracle Graph Python Client
14.3.1.2.4 Installing the Python Client in Embedded Mode
You can install and work with the Python client in embedded mode.
To install the embedded Python client:
Parent topic: Oracle Graph Python Client
14.3.1.2.5 Uninstalling the Python Client
This section describes how to uninstall the Python client.
To uninstall the Python client, run the following command:
pip uninstall oracle-graph-client
Parent topic: Oracle Graph Python Client