My Oracle Support Banner

Oracle VM: Fail to Install OVM Manager 3.4.6 on Oracle Linux 5 with SyntaxError: 'yield' not allowed in a 'try' block with a 'finally' clause (Doc ID 2568385.1)

Last updated on MAY 25, 2021

Applies to:

Oracle VM - Version 3.4.6 and later
Linux x86-64


Install of Oracle VM Manager v3.4.6 on Oracle Linux 5 fails with bewlow error:

# ./

Oracle VM Manager Release 3.4.6 Installer

Traceback (most recent call last):
File "", line 10, in ?
from ovm.installer.constants import Constants
File "/tmp/ovmm-installer.selfextract_PA2300/ovm/installer/", line 6, in ?
from ovm.installer.installer import Installer
File "/tmp/ovmm-installer.selfextract_PA2300/ovm/installer/", line 9, in ?
import yaml
File "/tmp/ovmm-installer.selfextract_PA2300/yaml/", line 26
yield loader.get_token()
SyntaxError: 'yield' not allowed in a 'try' block with a 'finally' clause


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.