Setting Python
Hi Guys,
I'm a newbie running IRIS in a container (IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2024.3 (Build 217U) Thu Nov 14 2024 17:30:43 EST) and trying to setup Python so I can start working on ML & Autosklearn,my understanding is that IRIS already comes with embedded Python but unable to do something like "import pandas as pd" in VSCode which looks like I need install a more complete version of Python or packages, so what I'm missing?
And how can I go to embedded Python editor in my VSCode because my understanding you can find under explorer option in VScode but I can't find it?
.png)
Thanks
Comments
HI @Touggourt ! You can start e.g. from this template . So you can clone or use as a template this github repo.
When IRIS starts in this it is prepared to work with Python in any supported modes.
Here is the related article.
To the first question about Python packages:
The pandas package doesn't come pre-installed. You are correct that the Python shell is functional in a basic IRIS instance, but some packages need to be installed (latest docs for installing python packages in containers). Other packages like math and iris are pre-installed.
To the second question:
I'm not sure what you're looking for here.
It looks like you have the VS Code explorer configured for server-side editing of the USER and US-S namespaces on your instance. You can create and add class files here, to be compiled within those namespaces. Those would be your user-defined files, including Python classes and scripts. They'll have access to the python libraries in IRIS. Here's some more documentation on running Python.