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



Jack, this answer is as helpful as "RTFM and you'll figure it out"
 
Looking at requirements.txt / setup.py of every single package is a wild
goose chase. These files are not installed, but only in the filesystem
temporarily (if building from a source distribution) or never (if
installing from a wheel). Not to mention the files are all under a crazy
cache directory structure in a hidden directory...
 
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 there's a
problem... so why didn't pip catch it? Because it's a RUNTIME PROBLEM. It
can be seen in the stack that he posted:
 
   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 setuptools)
at runtime and that's when the error is found. We need to see the rest of
the stack to see _who_ called setuptools though.
 
 
In addition, Joe you can run "pip3 list" to compare your WSL and IBM i
environments.

----- 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 MKDocs
Date: Mon, Dec 21, 2020 4:19 PM
 
On Mon, Dec 21, 2020 at 3:08 PM Joe Pluta <joepluta@xxxxxxxxxxxxxxxxx>
wrote:

> And this is where things get difficult for me.  Where exactly do I
look
> 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 this
stuff on the web. Setuptools is explained in the Python documentation.
The two files would be in the module package which is downloaded
automatically for you by pip and stored in a disk cache directory. All
the
packages you have pip installed are there still if you want to unzip
them
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 intended
recipient of this communication, any disclosure, copying further
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 affiliate
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 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.