小编gar*_*ach的帖子

无法通过python2.7运行jupyter笔记本

MacBook 笔记本电脑

已在终端中激活 py27。当我尝试运行时jupyter notebook,它返回:

bash-3.2$ source activate py27
(py27) bash-3.2$ jupyter notebook
Traceback (most recent call last):
  File "/Users/xx/anaconda3/envs/py27/bin/jupyter-notebook", line 7, in <module>
    from notebook.notebookapp import main
  File "/Users/xx/anaconda3/envs/py27/lib/python2.7/site-packages/notebook/__init__.py", line 25, in <module>
    from .nbextensions import install_nbextension
  File "/Users/xx/anaconda3/envs/py27/lib/python2.7/site-packages/notebook/nbextensions.py", line 31, in <module>
    from .config_manager import BaseJSONConfigManager
  File "/Users/xx/anaconda3/envs/py27/lib/python2.7/site-packages/notebook/config_manager.py", line 15, in <module>
    from traitlets.config import LoggingConfigurable
  File "/Users/xx/anaconda3/envs/py27/lib/python2.7/site-packages/traitlets/config/__init__.py", line 6, in <module>
    from .application import *
  File "/Users/xx/anaconda3/envs/py27/lib/python2.7/site-packages/traitlets/config/application.py", line 17, in <module>
    from decorator import decorator …
Run Code Online (Sandbox Code Playgroud)

python-2.7 anaconda jupyter-notebook

5
推荐指数
1
解决办法
1224
查看次数

标签 统计

anaconda ×1

jupyter-notebook ×1

python-2.7 ×1