× 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.



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 cached
https://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.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.