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.
----- Original message -----
From: Joe Pluta <joepluta@xxxxxxxxxxxxxxxxx>
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxxxxxxxx>
To: opensource@xxxxxxxxxxxxxxxxxx
Cc:
Subject: [EXTERNAL] Re: [IBMiOSS] Python, ACS, Open Source and MKDocs **
SOLVED **
Date: Mon, Dec 21, 2020 5:16 PM
The METADATA file was the culprit. The conditional requirement was not
conditioned, and so it was always trying to look for an old version of
tornado. This is top of the METADATA from livereload:
Metadata-Version: 2.0
Name: livereload
Version: 2.6.3
Summary: Python LiveReload is an awesome tool for web developers
Home-page: [1]
https://github.com/lepture/python-livereload ;
Author: Hsiaoming Yang
Author-email: me@xxxxxxxxxxx
License: BSD
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Environment :: Web Environment :: Mozilla
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Software Development :: Compilers
Classifier: Topic :: Software Development :: Debuggers
Requires-Dist: six
Requires-Dist: tornado
Requires-Dist: tornado (<6)
Note the second Requies-Dist for tornado? That's the one that John
pointed out was supposed to be for Python 2.7. Well, there's nothing in
the METADATA that says that, and I don't know if there even is a syntax,
because I can't find anything on METADATA in Google-foo. So I said the
heck with it, and I just delete that second tornado line, and magically
everything worked.
I am still not thrilled that I did something which for all intents and
purposes is undocumented, but I am happy that it works.
On 12/21/2020 5:09 PM, Joe Pluta wrote:
> David, you're absolutely correct now that I look at it. I somehow
> deleted a couuple of characters. It should be
--dev-addr=0.0.0.0:8555!
>
> On 12/21/2020 4:36 PM, DSchmidt@xxxxxxxxxxxxx wrote:
>> I've never used MkDocs and I've only been half reading all the
messages,
>> so this may not be an issue but the IP you have here: "serve
>> --dev-addr=0.0.0.8555" is not valid.
>>
>> - David
>>
>>
>
--
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: [2]
https://lists.midrange.com/mailman/listinfo/opensource ;
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [3]
https://archive.midrange.com/opensource ;.
Help support midrange.com by shopping at amazon.com with our affiliate
link: [4]
https://amazon.midrange.com ;
References
Visible links
1.
https://github.com/lepture/python-livereload
2.
https://lists.midrange.com/mailman/listinfo/opensource
3.
https://archive.midrange.com/opensource
4.
https://amazon.midrange.com/
As an Amazon Associate we earn from qualifying purchases.