Error running "python -m ipykernel install --user"
- Vorherrschende Sprache
- Python
- Sterne
- 734
- Forks
- 412
- Ø Merge
- 1 T. 5 Std.
- Gemergte PRs (30 T.)
- 8
Beschreibung
macOS 10.13.5
In terminal
When I run `sudo -H python2 -m ipykernel install --user
`
I got this error:
`Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 163, in _run_module_as_main
mod_name, _Error)
File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 111, in _get_module_details
__import__(mod_name) # Do not catch exceptions initializing package
File "/var/root/Library/Python/2.7/lib/python/site-packages/ipykernel/__init__.py", line 2, in
from .connect import *
File "/var/root/Library/Python/2.7/lib/python/site-packages/ipykernel/connect.py", line 13, in
from IPython.core.profiledir import ProfileDir
File "/var/root/Library/Python/2.7/lib/python/site-packages/IPython/__init__.py", line 48, in
from .core.application import Application
File "/var/root/Library/Python/2.7/lib/python/site-packages/IPython/core/application.py", line 23, in
from traitlets.config.application import Application, catch_config_error
ImportError: No module named traitlets.config.application`
Which points to that I did not have traitlets.
But when I try to import it, it was imported.
I'm using Hydrogen in Atom, and it requires this command to be done.
How to solve it?
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.