|
Jack, this answer is as helpful as "RTFM and you'll figure it out"wild
Looking at requirements.txt / setup.py of every single package is a
goose chase. These files are not installed, but only in thefilesystem
temporarily (if building from a source distribution) or never (ifcrazy
installing from a wheel). Not to mention the files are all under a
cache directory structure in a hidden directory...there's a
Regardless, the whole point of setup.py is to tell *pip* what the
dependencies are and let it firgure out all that nonsense. If pip
installed everything without errors, _it should be good_. Yet
problem... so why didn't pip catch it? Because it's a RUNTIMEPROBLEM. It
can be seen in the stack that he posted:setuptools)
File
"/QOpenSys/pkgs/lib/python3.6/site-packages/pkg_resources/__init__.py",
line 860, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (tornado 6.1
(/QOpenSys/pkgs/lib/python3.6/site-packages),
Requirement.parse('tornado<6'), {'livereload'})
Some package is calling setuptools (pkg_resources is part of
at runtime and that's when the error is found. We need to see therest of
the stack to see _who_ called setuptools though.i
In addition, Joe you can run "pip3 list" to compare your WSL and IBM
environments.MKDocs
----- Original message -----
From: Jack Woehr <jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx>
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxxxxxxxx>
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxxxxxxxx>
Cc:
Subject: [EXTERNAL] Re: [IBMiOSS] Python, ACS, Open Source and
Date: Mon, Dec 21, 2020 4:19 PM<joepluta@xxxxxxxxxxxxxxxxx>
On Mon, Dec 21, 2020 at 3:08 PM Joe Pluta
wrote:I
> And this is where things get difficult for me. Where exactly do
lookthis
> for these files? Because I'm having the devil of a time finding
> anything like the two you mention.
>
The whole system is complicated. There's thousands of pages about
stuff on the web. Setuptools is explained in the Pythondocumentation.
The two files would be in the module package which is downloadedAll
automatically for you by pip and stored in a disk cache directory.
theunzip
packages you have pip installed are there still if you want to
themintended
and look.
If a module tells you it wants some version, believe it. Create a
virtual
environment and install it there.
--
Jack Woehr
Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021
NON-DISCLOSURE NOTICE: This communication including any and all
attachments is for the intended recipient(s) only and may contain
confidential and privileged information. If you are not the
recipient of this communication, any disclosure, copying furtheraffiliate
distribution or use of this communication is prohibited. If you
received
this communication in error, please contact the sender and
delete/destroy
all copies of this communication immediately.
--
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
link: [3]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/
As an Amazon Associate we earn from qualifying purchases.
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.