To run an application that uses the Python language package (psycopg), set the environment variables as follows.
When using on a machine on which a package with the same name of OSS is installed, make sure that Python language packages (psycopg) group (under the directory added to PYTHONPATH) and packages with the same name of OSS are not mixed in the module search path (sys.path).
Required for execution of the application
PYTHONPATH
fujitsuEnterprisePostgresClientInstallDir/psycopg/python<PythonVersionToUse>/site-packages
Example
Note that "<x>" indicates the product version, "<y>" is the version of Python you want to use.
PYTHONPATH=/opt/fsepv<x>client64/psycopg/python<y>/site-packages:$PYTHONPATH; export PYTHONPATH