Since upgrading, when I attempt to start notebook with: jupyter notebook /path/to/my/notebooks/ I get the following: Traceback (most recent call last): File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 666, in _build_master ws.require(__requires__) File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 984, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib64/python3.5/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/lib64/python3.5/site-packages), Requirement.parse('html5lib!=0.9999,!=0.99999,<0.99999999,>=0.999'), {'bleach'}) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python-exec/python3.5/jupyter-notebook", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 3161, in <module> @_call_aside File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 3145, in _call_aside f(*args, **kwargs) File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 3174, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 668, in _build_master return cls._build_from_requirements(__requires__) File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 681, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 870, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'html5lib!=0.9999,!=0.99999,<0.99999999,>=0.999' distribution was not found and is required by bleach Reproducible: Always
Have the exact same error. The error seems to originate in bleach's version requirements on html5lib. Indeed, unmasking bleach (upgrading it from 1.5.0 to 2.1.3) resolved the problem. Jupyter starts normally again. So stabilizing =dev-python/bleach-2.1.3 should fix this, as far as I can tell. Note that I have unmasked a lot of jupyter-related packages.
With bleach 2.1.3 and 3.0.2 stabilized, this issue should be fixed.