pip will only install in to the site-packages folder for the version of
Python that it's run under, so there's no way that Python 2 would have
installed files in to /QOpenSys//pkgs/lib/python3.6/site-packages, which
is where all the errors are coming from. Same goes for the OPS python3 3.4
that he was using earlier too.
----- Original message -----
From: Mark Waterbury <mark.s.waterbury@xxxxxxxxxxxxx>
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxxxxxxxx>
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxxxxxxxx>
Cc:
Subject: [EXTERNAL] Re: [IBMiOSS] Python, ACS, Open Source and MKDocs **
SOLVED **
Date: Mon, Dec 21, 2020 5:48 PM
Joe,
IIRC, when you first started this thread, you discovered that you were
"accidentally" using Python 2.7, and an older version, from 5733-OPS ...
Perhaps that installed some stuff, before failing, so now, it's all
"hosed up"?
You might need to un-install all that stuff and then try again?
Hope that helps,
Mark S. Waterbury
On Monday, December 21, 2020, 6:32:53 PM EST, Joe Pluta
<joepluta@xxxxxxxxxxxxxxxxx> wrote:
And FYI, the METADATA for livereload on Ubuntu has the conditioning:
Requires-Dist: six
Requires-Dist: tornado (<6) ; python_version == "2.7"
Requires-Dist: tornado ; python_version > "2.7"
Maybe the generation on the IBM i somehow lopped off everything after
and including the semicolon.
On 12/21/2020 5:28 PM, Joe Pluta wrote:
> Yeah, that makes sense, Kevin. The METADATA generation should have
> been conditioned.
>
> On 12/21/2020 5:25 PM, Kevin Adler wrote:
>> Glad you got it figured out. My guess is that setuptools should
have
>> inserted one or another line depending on the version of python
>> you're
>> installing with not both.
>> eg. pip2 install livereload -> Requires-Dist: tornado (<6),
>> pip3 install
>> livereload -> Requires-Dist: tornado
>> Now that you nailed down the culprit, I can do some further
>> digging.
--
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: [1]
https://lists.midrange.com/mailman/listinfo/opensource ;
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [2]
https://archive.midrange.com/opensource ;.
Help support midrange.com by shopping at amazon.com with our affiliate
link: [3]
https://amazon.midrange.com ;
--
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: [4]
https://lists.midrange.com/mailman/listinfo/opensource ;
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [5]
https://archive.midrange.com/opensource ;.
Help support midrange.com by shopping at amazon.com with our affiliate
link: [6]
https://amazon.midrange.com ;
References
Visible links
1.
https://lists.midrange.com/mailman/listinfo/opensource
2.
https://archive.midrange.com/opensource
3.
https://amazon.midrange.com/
4.
https://lists.midrange.com/mailman/listinfo/opensource
5.
https://archive.midrange.com/opensource
6.
https://amazon.midrange.com/
As an Amazon Associate we earn from qualifying purchases.