How to install Python in IRIS
Could you please help anyone how to import Python package in %SYSTEM package and to use python methods to write in object script class?
I used the following link to install the Python but I can't see the Python package in %SYSTEM package and my program throwing the Class Does not exist error?
https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...
Please help on this..
Product version: IRIS 2020.1
How are you importing the Python library in your class? Have you declared your method language as Python? Did you see the package installed in the path defined by the documentation?
Embedded Python is only available from IRIS 2021.2. If you are running on 2020.1, you won't have access to %SYS.Python, and cannot make use of Embedded Python from ObjectScript classes.
When you do get to 2021.2 check out this: https://docs.intersystems.com/iris20232/csp/docbook/DocBook.UI.Page.cls?...
Hi Luis,
I have run the command as mentioned in the document "C:\InterSystems\IRIS\bin>irispip install --target C:\InterSystems\IRIS\mgr\python numpy" and it created package in IRIS installation path C:\InterSystems\HealthConnect\mgr\python but library classes not installed in Studio. I am not sure about how to import Python classes into %SYSTEM/%SYS package.
I am planning to use [Language=python] and import python code into object script.
Thank you Elijah & Michael for your reply.