That resolved the problem. thank you!
Original Message:
Sent: Tue September 24, 2024 12:18 PM
From: Michael Cramer
Subject: AWSCLI and V7r5
That great information Satid, thank you very much! I'm upgrading python today.
------------------------------
Michael Cramer
Original Message:
Sent: Tue September 24, 2024 08:57 AM
From: Satid S
Subject: AWSCLI and V7r5
Dear Michael
Your post indicates you have a problem with SSL.
When I do a Google search with "ibm i 7.5 python", I find this article that may have to do with your issue (as it's about the upgraded OpenSSL release in IBM i 7.5 and you seemed to have an issue with ssl from your post): Old PHP and Other PASE Apps Break on IBM i 7.5 at https://www.itjungle.com/2023/11/15/old-php-and-other-pase-apps-break-on-ibm-i-7-5/ IBM i 7.4 uses OpenSSL 1.0.2 while IBM i 7.5 delivers a new release of OpenSSL 1.1.
But the article does not say any thing about Python but then I find this Github information: https://github.com/richardschoen/howtostuff/blob/master/ibmi_install_amazon_cli_v1.md that mentions Python 3.9 while I notice you still use Python 3.4.
Since the IT jungle article suggests upgrading the release of the open source SW, I would guess that you may want to upgrade your Python from 3.4 to 3.9 to see if it can work with the new OpenSSL 1.1 that comes with IBM i 7.5.
By Googling with "python 3.4 openssl 1.1", I also find this information: https://bugs.python.org/issue31838 with an explicit statement that "Python 3.4 does not support OpenSSL 1.1 and will never support it." that should apply to your case. So, I'm quite confident that upgrading your Python from 3.4 to 3.9 (or any latest 3.x there is right now) should help resolve your problem.
I wish you good luck wit your case.
------------------------------
Satid S
Original Message:
Sent: Mon September 23, 2024 08:22 PM
From: Michael Cramer
Subject: AWSCLI and V7r5
Hi,
We just recently upgraded from V7r4 to V7r5 and it broke our AWSCLI connection. I'm getting
File "/usr/local/aws/lib/python3.4/site-packages/botocore/httpsession.py", line 8, in <module>
from urllib3.util.ssl_ import (
ImportError: cannot import name 'ssl'
$
Any idea what that could be?
------------------------------
Michael Cramer
------------------------------