× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



We should probably build Python and set the runtime libpath so that it
searches for the SC1 version first instead of in /QOpenSys/usr/lib.
Problems like this are reasons are one of the downfalls of using packages
from Perzl instead of having it all integrated with the rest of our OPS
offering, but it is a nice stop-gap.


"OpenSource" <opensource-bounces@xxxxxxxxxxxx> wrote on 06/20/2016
12:53:22 PM:

From: Aaron Bartell <aaronbartell@xxxxxxxxx>
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxx>
Date: 06/20/2016 12:53 PM
Subject: Re: [IBMiOSS] Error installing pandas
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxx>

FWIW, I also get the HTTPSHandler ImportError outside of Litmis Spaces.
After doing some initial checking it appears the perzl openssl might be
conflicting (or wiped out) the SC1 openssl symbolic links. I am not
sure
of that yet.

*>(A huge step would be to install ibm_db and itoolkit.)*

Both should be installed on Litmis Spaces. Run the following command to
see: ls -all /QOpenSys/QIBM/ProdData/OPS/Python-pkgs

Also, we can expect some extra effort in these initial stages of
adopting
open source on IBM i**. The key is ~documenting~ our progress so the
next
person doesn't have to go through the same hoops. Documenting can
happen
in many locations (stackoverflow.com, github gists, blogs, wikis, etc).
Also, feel free to make a new Python page at the following link to
document
resolutions: https://bitbucket.org/ibmi/opensource/wiki/Home

**Yeah, yeah, I know we've had open source on IBM i since Apache in the
90's, but it's new all over again with 5733OPS.

This is good collaboration. Let's keep it going.


Aaron Bartell
litmis.com - Services for open source on IBM i


On Mon, Jun 20, 2016 at 7:26 PM, John Yeung <gallium.arsenide@xxxxxxxxx>
wrote:

On Mon, Jun 20, 2016 at 12:44 PM, Bill Gravelle <starbg@ibmi.rocks>
wrote:
Jim,

What version(s) of Python do you have installed? Is this from the
IBM
5733OPS Option 2 (Python 3.x) or 4 (Python 2.x)? Or is it another
version? Are you doing this installation work into a chroot’d
environment?

Hm. I would have thought, based on another thread ("Re: Resources to
Learn beginner Learning in RPG"), that he's trying this on Litmis,
which has 57733OPS Option 2.

But I have recently opened a Python space on Litmis as well, and I
can't even get as far as he did. For me, any attempt to use pip (to
install any package) results in

[last part of traceback only]
File
"/QOpenSys/QIBM/ProdData/OPS/Python3.4/lib/python3.4/site-
packages/pip/_vendor/distlib/compat.py",
line 6
6, in <module>
from urllib.request import (urlopen, urlretrieve, Request,
url2pathname,
ImportError: cannot import name 'HTTPSHandler'

However, I also signed up for pub400.com (currently also only Option
2), and over there, I have successfully installed XlsxWriter, xlrd,
and Bottle (all pure Python, no C compilation involved) using pip
inside a venv.

I tried installing ibm_db (which does have a C component) the same
way, and it failed with

[last part of traceback only]
File

"/QOpenSys/QIBM/ProdData/OPS/Python3.4/lib/python3.4/urllib/request.py",
line 1185, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error A failure in the SSL library
occurred (_ssl.c:600)>

So, these new offerings are definitely rough around the edges. Both
very cool, but currently not in great shape to leverage both Python
and the i simultaneously. (A huge step would be to install ibm_db and
itoolkit.)

Relevant links, particularly for Holger and Aaron:


https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/
wiki/IBM%20i%20Technology%20Updates/page/Installing%20shipped%20add-ons


https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/
wiki/IBM%20i%20Technology%20Updates/page/Python%20PTFs

Honestly, I don't understand why flipflop and bottle were released as
PTFs for Option 2 (since they are trivially installable with pip), and
perhaps that is why these are not PTFs for Option 4.

John Y.
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.

--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.