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:

  1. Run the following pip command:
    pip3 install --user /opt/oracle/graph/client/
  2. Start the OPG4Py shell in embedded mode as shown:
    cd /opt/oracle/graph
    ./bin/opg4py

    Note that the shell executables are found in /opt/oracle/graph/bin after the server installation.

    The OPG4Py shell starts and the following command line prompt appears as shown:

    Oracle Graph Server Shell 23.1.0
    >>> instance
    ServerInstance(embedded: True, version: 23.1.1)
    >>>