| Summary: | dev-python/jupyter-1.0.0::gentoo ImportError: No module named 'IPython.paths' | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | MT <toffanin.mauro> |
| Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | major | CC: | jstein |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Currently the jupyter-1.0.0 metapacke isn't really functional (see bug #589750). I would recommend to install dev-python/ipython[notebook] or dev-python/notebook instead. Hi Toffanin, I think it is fixed in jupyter 1.0.0-r1. Please have a test. |
I have installed jupyter via Portage, but when I try to launch a new notebook, using the command 'jupyter notebook', I am getting this error: "ImportError: No module named 'IPython.paths'". Here is the full trackback: Traceback (most recent call last): File "/usr/lib/python-exec/python3.4/jupyter-notebook", line 9, in <module> load_entry_point('notebook==4.0.6', 'console_scripts', 'jupyter-notebook')() File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 542, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 2542, in load_entry_point return ep.load() File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 2202, in load return self.resolve() File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 2208, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/lib64/python3.4/site-packages/notebook/notebookapp.py", line 83, in <module> from IPython.paths import get_ipython_dir ImportError: No module named 'IPython.paths' I'm not sure how to fix the issue, but it seems related to this bug report from upstream: https://github.com/ipython/ipykernel/issues/22 In short, jupyter-1.0.0 requires IPython <=v3.1.0, while Portage provides only v3.2.1+.