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



Can any of the Python experts on the list here please tell me what this means?

Specifically this:

  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'})

If I read this correctly, it looks like there is a requirement definition somewhere specifying that I must have a tornado package whose release is less than 6.  This won't work because I have tornado 6.1, the latest.  This conflict does NOT occur in my Ubuntu installation, and MKDocs runs happily.  So this raises a few questions:

1. Am I correct, is this a requirement that the tornado release be <6?
2. Where are these requirements defined? I've been scanning directories and I can't find it.
3. Why would the requirement be LESS THAN 6?  I understand AT LEAST n.n, but less than?

Help here is needed.  I've been using Google-Foo and it's really hard to find anything on Python dependencies.

Thanks!

On 12/18/2020 1:12 PM, Joe Pluta wrote:
I continue to make progress, but this one looks a little difficult. At the very end, it says I have a resource conflict and that looks as though my version of tornado is 6.1, but the program expects it to be less than 6.  At least that's what the messages seems to be saying.  The problem is that I don't know why it needs to be less than 6, nor do I know where tornado is nor whether it's something can fix.

I take back one small part of that - tornado lives in the python3.6 site-packages folder.  I still, however, don't know what to do.  :)

And please note, I am NOT using a venv.  I have set my PATH as suggested using my .bashrc file and everything seems to be working.

mvxjp@DEV:/mkdocs/TestProject$ mkdocs serve --dev-addr=0.0.0.8555
INFO    -  Building documentation...
Traceback (most recent call last):
  File "/QOpenSys/pkgs/bin/mkdocs", line 11, in <module>
    sys.exit(cli())
  File "/QOpenSys/pkgs/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/QOpenSys/pkgs/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/QOpenSys/pkgs/lib/python3.6/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/QOpenSys/pkgs/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/QOpenSys/pkgs/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/QOpenSys/pkgs/lib/python3.6/site-packages/mkdocs/__main__.py", line 136, in serve_command
    **kwargs
  File "/QOpenSys/pkgs/lib/python3.6/site-packages/mkdocs/commands/serve.py", line 141, in serve
    config = builder()
  File "/QOpenSys/pkgs/lib/python3.6/site-packages/mkdocs/commands/serve.py", line 129, in builder
    **kwargs
  File "/QOpenSys/pkgs/lib/python3.6/site-packages/mkdocs/config/base.py", line 197, in load_config
    errors, warnings = cfg.validate()
  File "/QOpenSys/pkgs/lib/python3.6/site-packages/mkdocs/config/base.py", line 107, in validate
    run_failed, run_warnings = self._validate()
  File "/QOpenSys/pkgs/lib/python3.6/site-packages/mkdocs/config/base.py", line 62, in _validate
    self[key] = config_option.validate(value)
  File "/QOpenSys/pkgs/lib/python3.6/site-packages/mkdocs/config/config_options.py", line 131, in validate
    return self.run_validation(value)
  File "/QOpenSys/pkgs/lib/python3.6/site-packages/mkdocs/config/config_options.py", line 609, in run_validation
    plgins[item] = self.load_plugin(item, cfg)
  File "/QOpenSys/pkgs/lib/python3.6/site-packages/mkdocs/config/config_options.py", line 617, in load_plugin
    Plugin = self.installed_plugins[name].load()
  File "/QOpenSys/pkgs/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2302, in load
    self.require(*args, **kwargs)
  File "/QOpenSys/pkgs/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2325, in require
    items = working_set.resolve(reqs, env, installer, extras=self.extras)
  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'})
mvxjp@DEV:/mkdocs/TestProject$





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.