Wrong Python. Put /QOpenSys/pkgs/bin at the head of your $PATH and do yum to install python39
________________________________
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of eric bothes <iseriesstuff@xxxxxxxxx>
Sent: Tuesday, September 24, 2024 7:44 AM
To: Midrange-L <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: pip error

[You don't often get email from iseriesstuff@xxxxxxxxx. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

we are on 7.5 latest ptf's. I'm trying to install the following:

pip3 install openpyxl

and getting the following error. No matter what i try typing after pip3,
the same error get shown.

Traceback (most recent call last):
File "/QOpenSys/usr/bin/pip3", line 6, in <module>
from pip import main
File
"/QOpenSys/QIBM/ProdData/OPS/Python3.4/lib/python3.4/vendor-packages/pip/__init__.py",
line 16, in <module>
from pip.vcs import git, mercurial, subversion, bazaar # noqa
File
"/QOpenSys/QIBM/ProdData/OPS/Python3.4/lib/python3.4/vendor-packages/pip/vcs/subversion.py",
line 9, in <module>
from pip.index import Link
File
"/QOpenSys/QIBM/ProdData/OPS/Python3.4/lib/python3.4/vendor-packages/pip/index.py",
line 30, in <module>
from pip.wheel import Wheel, wheel_ext
File
"/QOpenSys/QIBM/ProdData/OPS/Python3.4/lib/python3.4/vendor-packages/pip/wheel.py",
line 39, in <module>
from pip._vendor.distlib.scripts import ScriptMaker
File
"/QOpenSys/QIBM/ProdData/OPS/Python3.4/lib/python3.4/vendor-packages/pip/_vendor/distlib/scripts.py",
line 14, in <module>
from .compat import sysconfig, detect_encoding, ZipFile
File
"/QOpenSys/QIBM/ProdData/OPS/Python3.4/lib/python3.4/vendor-packages/pip/_vendor/distlib/compat.py",
line 66, in <module>
from urllib.request import (urlopen, urlretrieve, Request,
url2pathname,

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l<https://lists.midrange.com/mailman/listinfo/midrange-l>
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l<https://archive.midrange.com/midrange-l>.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.