خرید بک لینک

Vote count: 0

I have Mac OS X 10.11.5. I installed jupyter notebook via anaconda. When I type jupyter notebook. It opens "Home" tab in Safari but gives me an error in the command window: [W 20:48:53.368 NotebookApp] /Users/hoosier/cv.py doesn't exist

However, there is a file /Users/hoosier/cv.py on my computer. When I try to start python2, it tries but eventually keel dies. Here is what I get in the command window:

[I 20:52:33.947 NotebookApp] Creating new notebook in [I 20:52:34.331 NotebookApp] Keel started: 7f5cc96e-8163-48f7-a59b-ce13a6839608 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main "main", fname, loader, pkg_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/Library/Python/2.7/site-packages/ipykeel/main.py", line 3, in app.launch_new_instance() File "/Library/Python/2.7/site-packages/traitlets/config/application.py", line 591, in launch_instance app.initialize(argv) File "", line 2, in initialize File "/Library/Python/2.7/site-packages/traitlets/config/application.py", line 75, in catch_config_error retu method(app, *args, **kwargs) File "/Library/Python/2.7/site-packages/ipykeel/keelapp.py", line 390, in initialize self.init_extensions() File "/Library/Python/2.7/site-packages/ipykeel/keelapp.py", line 362, in init_extensions extension_man.load_extension('ipywidgets') File "/Library/Python/2.7/site-packages/IPython/core/extensions.py", line 89, in load_extension import(module_str) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ipywidgets/init.py", line 22, in from .widgets import * File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ipywidgets/widgets/init.py", line 1, in from .widget import Widget, CallbackDispatcher, register, widget_serialization, handle_version_comm_opened File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ipywidgets/widgets/widget.py", line 117, in class Widget(LoggingConfigurable): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ipywidgets/widgets/widget.py", line 154, in Widget in which to find _model_name. If empty, look in the global registry.""").tag(sync=True) AttributeError: 'Unicode' object has no attribute 'tag' [I 20:52:37.333 NotebookApp] KeelRestarter: restarting keel (1/5) Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main "main", fname, loader, pkg_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/Library/Python/2.7/site-packages/ipykeel/main.py", line 3, in app.launch_new_instance() File "/Library/Python/2.7/site-packages/traitlets/config/application.py", line 591, in launch_instance app.initialize(argv) File "", line 2, in initialize File "/Library/Python/2.7/site-packages/traitlets/config/application.py", line 75, in catch_config_error retu method(app, *args, **kwargs) File "/Library/Python/2.7/site-packages/ipykeel/keelapp.py", line 390, in initialize self.init_extensions() File "/Library/Python/2.7/site-packages/ipykeel/keelapp.py", line 362, in init_extensions extension_man.load_extension('ipywidgets') File "/Library/Python/2.7/site-packages/IPython/core/extensions.py", line 89, in load_extension import(module_str) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ipywidgets/init.py", line 22, in from .widgets import * File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ipywidgets/widgets/init.py", line 1, in from .widget import Widget, CallbackDispatcher, register, widget_serialization, handle_version_comm_opened File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ipywidgets/widgets/widget.py", line 117, in class Widget(LoggingConfigurable): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ipywidgets/widgets/widget.py", line 154, in Widget in which to find _model_name. If empty, look in the global registry.""").tag(sync=True) AttributeError: 'Unicode' object has no attribute 'tag' [I 20:52:40.339 NotebookApp] KeelRestarter: restarting keel (2/5) Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main "main", fname, loader, pkg_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/Library/Python/2.7/site-packages/ipykeel/main.py", line 3, in app.launch_new_instance() File "/Library/Python/2.7/site-packages/traitlets/config/application.py", line 591, in launch_instance app.initialize(argv) File "", line 2, in initialize File "/Library/Python/2.7/site-packages/traitlets/config/application.py", line 75, in catch_config_error retu method(app, *args, **kwargs) File "/Library/Python/2.7/site-packages/ipykeel/keelapp.py", line 390, in initialize self.init_extensions() File "/Library/Python/2.7/site-packages/ipykeel/keelapp.py", line 362, in init_extensions extension_man.load_extension('ipywidgets') File "/Library/Python/2.7/site-packages/IPython/core/extensions.py", line 89, in load_extension import(module_str) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ipywidgets/init.py", line 22, in from .widgets import * File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ipywidgets/widgets/init.py", line 1, in from .widget import Widget, CallbackDispatcher, register, widget_serialization, handle_version_comm_opened File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ipywidgets/widgets/widget.py", line 117, in class Widget(LoggingConfigurable): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ipywidgets/widgets/widget.py", line 154, in Widget in which to find _model_name. If empty, look in the global registry.""").tag(sync=True) AttributeError: 'Unicode' object has no attribute 'tag' [I 20:52:43.344 NotebookApp] KeelRestarter: restarting keel (3/5) Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main "main", fname, loader, pkg_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/Library/Python/2.7/site-packages/ipykeel/main.py", line 3, in app.launch_new_instance() File "/Library/Python/2.7/site-packages/traitlets/config/application.py", line 591, in launch_instance app.initialize(argv) File "", line 2, in initialize File "/Library/Python/2.7/site-packages/traitlets/config/application.py", line 75, in catch_config_error retu method(app, *args, **kwargs) File "/Library/Python/2.7/site-packages/ipykeel/keelapp.py", line 390, in initialize self.init_extensions() File "/Library/Python/2.7/site-packages/ipykeel/keelapp.py", line 362, in init_extensions extension_man.load_extension('ipywidgets') File "/Library/Python/2.7/site-packages/IPython/core/extensions.py", line 89, in load_extension import(module_str) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ipywidgets/init.py", line 22, in from .widgets import * File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ipywidgets/widgets/init.py", line 1, in from .widget import Widget, CallbackDispatcher, register, widget_serialization, handle_version_comm_opened File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ipywidgets/widgets/widget.py", line 117, in class Widget(LoggingConfigurable): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ipywidgets/widgets/widget.py", line 154, in Widget in which to find _model_name. If empty, look in the global registry.""").tag(sync=True) AttributeError: 'Unicode' object has no attribute 'tag' [W 20:52:44.352 NotebookApp] Timeout waiting for keel_info reply from 7f5cc96e-8163-48f7-a59b-ce13a6839608 [I 20:52:46.351 NotebookApp] KeelRestarter: restarting keel (4/5) WARNING:root:keel 7f5cc96e-8163-48f7-a59b-ce13a6839608 restarted Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main "main", fname, loader, pkg_name) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/Library/Python/2.7/site-packages/ipykeel/main.py", line 3, in app.launch_new_instance() File "/Library/Python/2.7/site-packages/traitlets/config/application.py", line 591, in launch_instance app.initialize(argv) File "", line 2, in initialize File "/Library/Python/2.7/site-packages/traitlets/config/application.py", line 75, in catch_config_error retu method(app, *args, **kwargs) File "/Library/Python/2.7/site-packages/ipykeel/keelapp.py", line 390, in initialize self.init_extensions() File "/Library/Python/2.7/site-packages/ipykeel/keelapp.py", line 362, in init_extensions extension_man.load_extension('ipywidgets') File "/Library/Python/2.7/site-packages/IPython/core/extensions.py", line 89, in load_extension import(module_str) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ipywidgets/init.py", line 22, in from .widgets import * File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ipywidgets/widgets/init.py", line 1, in from .widget import Widget, CallbackDispatcher, register, widget_serialization, handle_version_comm_opened File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ipywidgets/widgets/widget.py", line 117, in class Widget(LoggingConfigurable): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ipywidgets/widgets/widget.py", line 154, in Widget in which to find _model_name. If empty, look in the global registry.""").tag(sync=True) AttributeError: 'Unicode' object has no attribute 'tag' [W 20:52:49.361 NotebookApp] KeelRestarter: restart failed [W 20:52:49.361 NotebookApp] Keel 7f5cc96e-8163-48f7-a59b-ce13a6839608 died, removing from map. ERROR:root:keel 7f5cc96e-8163-48f7-a59b-ce13a6839608 restarted failed! [W 20:52:49.372 NotebookApp] Keel deleted before session [W 20:52:49.373 NotebookApp] 410 DELETE /api/sessions/cce1452d-221b-47b6-9bc6-52440b639281 (::1) 1.50ms referer=http://localhost:8888/notebooks/Untitled32.ipynb?keel_name=python2 [W 20:53:32.867 NotebookApp] /Users/hoosier/cv.py doesn't exist [I 20:54:35.237 NotebookApp] Saving file at /Untitled32.ipynb

asked 1 min ago

- - , .
.

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 24 تير 1395 ساعت: 8:11

صفحه بندی