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 JULY 28, 2020

Applies to:

Oracle VM - Version 3.4.6 and later
Linux x86-64

Symptoms

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

# ./runInstaller.sh

Oracle VM Manager Release 3.4.6 Installer

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

Cause

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
Symptoms
Cause
Solution
References


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