question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ContextualVersionConflict html5lib 1.0.1

See original GitHub issue

tensorboard doesn’t seem to recognize html5lib after an update This is on arch.

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 666, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 984, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 875, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.VersionConflict: (tensorflow-tensorboard 0.4.0rc2 (/usr/lib/python3.6/site-packages), Requirement.parse('tensorflow-tensorboard==0.4.0rc1'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/tensorboard", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3147, in <module>
    @_call_aside
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3131, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3160, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 668, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 681, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 875, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (html5lib 1.0.1 (/usr/lib/python3.6/site-packages), Requirement.parse('html5lib!=0.9999,!=0.99999,<0.99999999,>=0.999'), {'bleach'})

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:13

github_iconTop GitHub Comments

1reaction
F3zz1kcommented, Jan 4, 2018

pip install tensorflow-tensorboard fixed my problem The naming convention is… not very helpful.

1reaction
nfeltcommented, Jan 4, 2018

Can you downgrade your html5lib to 0.9999999 (seven 9’s) to satisfy the bleach requirements?

If not, I’m not sure what to suggest other than maybe installing tensorflow and tensorboard instead a virtualenv where you only have their dependencies as pip packages and nothing else that might conflict.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ContextualVersionConflict when importing guesslang package
I reinstalled html5lib once with version 1.0.1 and did again with version 0.9999999 (seven 9s), but the result is same in both tries....
Read more >
Ошибка при запуске spyder IDE [Решено]
ContextualVersionConflict : (decorator 5.0.9 (/usr/lib/python3.9/site-packages), Requirement.parse('decorator<5'), {'spyder-kernels'}) During ...
Read more >
Ports bug reports: by thread - FreeBSD Mailing lists
[Bug 263677] [MAINTAINER UPDATE] mail/mailhog - update to version 1.0.1 ... [Bug 262902] www/py-bleach: Add www/py-html5lib to run depends ...
Read more >
https://code.0x2620.org/0x2620/openmedialibrary_pl...
... HTML specification Home-page: https://github.com/html5lib/html5lib-python ... post release syntax (e.g. 1.0-1) + letter = "post" + + return letter, ...
Read more >
2021年08月_weixin_39667080的博客_CSDN博客
ContextualVersionConflict html5lib 1.0.1. 2021-01-12. aws_msk_cluster updated when referencing an aws_msk_configuration causes cluster delete/recreate.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found