ipython / ipython/ipykernel

Error running "python -m ipykernel install --user"

オープン
#326 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
734
フォーク
412
平均マージ
1日 5時間
マージ済み PR(30日)
8

説明

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?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。