Issue in calling Python COM Server from Amibroker

I am using Amibroker version 6 and trying to call Python COM Server from Amibroker (AFL) using CreateObject function . However I am getting below error in Amibroker. Using Python 2.7 version.

“COM/object handle is null Formulas\Basic Charts\Py2Ami.afl”

I am facing the same issue in Amibroker version 5.7 aswell.

Please let me know if I am required to use any plugin to enable the CreateObject function in Amibroker.