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



Hi John,

Thanks for your reply.

I installed 3.6.6 via the Open Souce Package Management option from IBMi
ACS.
Forgive my ignorance but I don't know if this uses yum under the covers or
if there is another way to use yum to do the install directly.

I can see a python3 update (on the Open Source Package Management Screen)
to version 3.6.8-1.
So I could for sure run that update.

But I assume this will just update the version in /QOpenSys/pkgs/bin

I could then re-create my venv and it would be at the 3.6.8-1 version of
python but the venv wouldn't not contain ibm-db and itoolkit.

To install packages into my venv I'd normally activate the venv then pip
install the required packages.
But I thought from Justin's response to an earlier email that that process
would not work for ibm-db and itoolkit.

If I can't pip-install them into the venv I'm not sure how to get them into
the venv?

thanks,
Craig

On Mon, 1 Apr 2019 at 15:47, John Yeung <gallium.arsenide@xxxxxxxxx> wrote:

On Mon, Apr 1, 2019 at 10:26 AM Craig Richards <craig@xxxxxxxxxxxxxxxx>
wrote:
I'm running python 3.6.6 (on the IBMi) and have just set up a venv
version
which seems to be working fine.

The fact that you are running 3.6 rather than 3.4 suggests you have
installed Python 3 via yum. This is a Good Thing.

ibm-db
itoolkit

If these cannot be pip installed - are there any instructions anyone
could
point me to that are complete and exact enough for a newbie to follow?

These should also be installed via yum. Since you presumably installed
Python 3 via yum, you should be able to do these as well. If you don't
know the exact name to type, do 'yum list' to get a complete listing.

Incidentally, the folks at IBM are releasing new RPMs fairly
frequently. We are at Python 3.6.8 now. If you have the time, 'yum
upgrade' will go through everything you've installed via yum and
update to the latest available. I'm not completely sure about the
difference between 'update' and 'upgrade', but it seems you use the
former for individual packages and the latter for your whole system.
Use 'yum --help' and/or Google for more information on how to use yum.

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