Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#58313 - jupyter-notebook needs python-six as dependency

Attached to Project: Community Packages
Opened by DaNiMoTh (DaNiMoTh) - Monday, 23 April 2018, 08:00 GMT
Last edited by Antonio Rojas (arojas) - Monday, 23 April 2018, 08:22 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The package jupyter-notebook depends on:

Depends On : python-setuptools python-jinja python-tornado python-terminado python-traitlets jupyter-nbformat python-jupyter_core python-jupyter_client mathjax python-send2trash jupyter-nbconvert

But after the first install, this is the result:

$ jupyter notebook
Traceback (most recent call last):
File "/usr/bin/jupyter-notebook", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 50, in <module>
from pkg_resources.extern import six
File "/usr/lib/python3.6/site-packages/pkg_resources/extern/__init__.py", line 61, in load_module
"distribution.".format(**locals())
ImportError: The 'six' package is required; normally this is bundled with this package so if you get this warning, consult the packager of your distribution.



Additional info:
* package version(s)
Jupyter-notebook Version : 5.3.0-3


Steps to reproduce:

# pacman -Rs jupyter-notebook
# pacman -S jupyter-notebook
$ jupyter-notebook
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 23 April 2018, 08:22 GMT
Reason for closing:  Not a bug
Comment by DaNiMoTh (DaNiMoTh) - Monday, 23 April 2018, 08:05 GMT
It also misses:

python-appdirs

Traceback (most recent call last):
File "/usr/bin/jupyter-notebook", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 73, in <module>
from pkg_resources.extern import appdirs
File "/usr/lib/python3.6/site-packages/pkg_resources/extern/__init__.py", line 61, in load_module
"distribution.".format(**locals())
ImportError: The 'appdirs' package is required; normally this is bundled with this package so if you get this warning, consult the packager of your distribution.


The python-packaging

Traceback (most recent call last):
File "/usr/bin/jupyter-notebook", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 74, in <module>
from pkg_resources.extern import packaging
File "/usr/lib/python3.6/site-packages/pkg_resources/extern/__init__.py", line 61, in load_module
"distribution.".format(**locals())
ImportError: The 'packaging' package is required; normally this is bundled with this package so if you get this warning, consult the packager of your distribution.

python-pyparsing

Traceback (most recent call last):
File "/usr/bin/jupyter-notebook", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 77, in <module>
__import__('pkg_resources.extern.packaging.requirements')
File "/usr/lib/python3.6/site-packages/packaging/requirements.py", line 9, in <module>
from pyparsing import stringStart, stringEnd, originalTextFor, ParseException
ModuleNotFoundError: No module named 'pyparsing'

python-traitlets

Traceback (most recent call last):
File "/usr/bin/jupyter-notebook", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3088, in <module>
@_call_aside
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3072, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3101, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 574, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 892, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 778, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'traitlets>=4.2.1' distribution was not found and is required by notebook

python-pigments
Traceback (most recent call last):
File "/usr/bin/jupyter-notebook", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3088, in <module>
@_call_aside
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3072, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3101, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 574, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 892, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 778, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pygments' distribution was not found and is required by nbconvert

Comment by DaNiMoTh (DaNiMoTh) - Monday, 23 April 2018, 08:06 GMT
But I am getting some other strange errors. Could it be a problem on my system?
Comment by Antonio Rojas (arojas) - Monday, 23 April 2018, 08:22 GMT
Yes, all those packages are already in the dependency tree so definitely a problem on your side. Check that you do have those packages installed and you are not using some other python installation on your system.

Loading...