In Python3 the C interface has changed. [1]
During the upgrade the Creation of the perf
interface was upgraded to Python3 but the initialization
itself was not. As a consequence the module was not actually
registered and trying to use perf results in an error.
This would not be noticed as the import in the Python module
has the import in a try: .. except: pass block presumably
because perf support is optional.
Why did Python2 not require this? Is there some sort of module path set somewhere that does not work for Python3?