On Tue, Feb 2, 2021 at 8:29 PM James H. H. Lampert
<jamesl@xxxxxxxxxxxxxxxxx> wrote:
On 2/2/21 4:32 PM, Jerry Draper wrote:
Python is available on IBM I in open source.
Not "available" as in "available to be installed."
"Available" as in "installed and available for immediate use."
I highly doubt it's already installed, unless someone else who uses
your IBM i also reads these mailing lists.
But let's just go through it anyway. The best situation is if you have
an RPM-based (a.k.a. yum-based) installation of Python. The quickest
way I know to test this is to issue the following at a regular, CL
command line:
wrklnk '/QOpenSys/pkgs/bin/python*'
If anything shows up there, you are in luck! All the new open source
executables (not just Python) would be in /QOpenSys/pkgs/bin.
If you don't have that, the next thing to try is
wrklnk '/QOpenSys/usr/bin/python*'
If something turns up there, it's because someone installed the
5733-OPS licensed program.
The last thing to check is whether you have iSeriesPython installed. I
think you have a better chance of winning a million dollars in a
lottery than having iSeriesPython installed and not even know it, but:
wrkobj *all/python *cmd
Unlike the other Pythons, this is implemented in ILE C and lives in
QSYS-land, not in PASE. It does not come from and is not supported by
IBM.
Assuming all of these turned up empty for you, the next step is for
you to tell us which version of the operating system you have, which
will dictate the best way to proceed.
John Y.
As an Amazon Associate we earn from qualifying purchases.