Linking External Python with TreeAge
I understand that TreeAge Pro 2018 added the ability to use external Python within a TreeAge model. I have followed the directions in the user guide:
- downloaded Python 3.6 (64 bit version, running on Win 7 Pro 64 bit)
- installed the py4j library and the numpy package
- Selected the option to use external Python.
I tried to recreate the example on page 406 of the user guide in "Python Example.trex" (I don't have "Python Example – ExternalNumPy.trex" as an available example project). I get the following error when I try the PythonImportNumpy function in the evaluator:
Error while evaluating expression.
Error - Expression parsed but cannot be calculated.
Error while evaluating function pythonimportnumpy:
Error while evaluating function user:
Error while obtaining a new communication channel
Calculating: PythonImportNumpy(1, 2, 3, 4)
Unable to evaluate given text at node "Test Python" (Node1).
Any idea what might be causing my problem?