|
From: Aaron Bartell <aaronbartell@xxxxxxxxx>sure
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
of that yet.adopting
*>(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
open source on IBM i**. The key is ~documenting~ our progress so thenext
person doesn't have to go through the same hoops. Documenting canhappen
in many locations (stackoverflow.com, github gists, blogs, wikis, etc).document
Also, feel free to make a new Python page at the following link to
resolutions: https://bitbucket.org/ibmi/opensource/wiki/Homewrote:
**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>
IBMJim,
What version(s) of Python do you have installed? Is this from the
environment?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
"/QOpenSys/QIBM/ProdData/OPS/Python3.4/lib/python3.4/urllib/request.py",packages/pip/_vendor/distlib/compat.py",
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-
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
line 1185, in do_openwiki/IBM%20i%20Technology%20Updates/page/Installing%20shipped%20add-ons
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/Python%20PTFs
https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/
--
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 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.