Fix for error: AttributeError: 'module' object has no attribute 'CodeView'