|
You have several things not going the way you'd want:
On Mon, Nov 29, 2021 at 2:31 PM Jack Tucky <jacktucky@xxxxxxxxx> wrote:
*pip install ibm_db*
Don't use pip for that, use yum. As a general rule for open source on
IBM i, always try yum first.
Using cachedhttps://files.pythonhosted.org/packages/d0/b7/4b133397dbaa5f7046f95b59a784d8030f43a1228aee371affeb4f4b6a6c/ibm_db-
3.1.0.tar.gz
Yeah, that's the ibm-db package found on PyPI (which is the main place
pip looks for things). Despite its claims, it doesn't properly support
Db2 for i.
file_stream = BytesIO(request.urlopen(url,
context=context).read())
TypeError: initial_value must be unicode or None, not str
That suggests that the Python trying to do the installing (via pip) is
Python 2. Unless you know what you're doing with virtual environments,
it's always better to be explicit and say pip3.
John Y.
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/opensource.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
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.