[Python-Cache Binding] DLL load failed when trying to import intersys.pythonbind3 using $zf(-1)
I have done Python - Cache binding setup following the guide from http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=.... I have also run test.py from sample3 folder and it able to run and complete successfully.
However, when I try to run the same test.py code via $zf, it gives error with exit code 1.
I've tried running help("intersys.pythonbind3") via $zf and also running from Cache terminal as follows:
- $zf(-1,"C:\Python36\python <path>/script.py")
- ! C:\Python36\python <path>/script.py
which gives me the following output:
problem in intersys.pythonbind3 - ImportError: DLL load failed: The specified module could not be found.
But running the above directly from command prompt is fine.
Any ideas on this ImportError?