0

OS X の Canopy からノートブックを起動しようとすると、エラーが発生します。github の最新のものからインストールしています。これはqtconsoleでも発生するので、zmqのどこかおかしいと思います。enpkg を使用して 1.0 をインストールすると、期待どおりに動作します。github からも pyzmq をインストールしてみました。インストールの一部として拡張機能としてリンクし、既存の zmq (MacPorts 経由で 3.2.3) にリンクします。うまくいけば、これは修正可能です。このようなエラーをウェブ全体で調べましたが、具体的には私のエラーを指しているものは何もありません。ご確認いただきありがとうございます。

FWIW、私はまた、期待どおりに動作する ipython の dev ブランチがインストールされた Python3 virtualenv を持っています。

(Canopy 64bit) ~ $ ipython notebook
/Users/chris/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/frontend.py:30: UserWarning: The top-level `frontend` package has been deprecated. All its subpackages have been moved to the top `IPython` level.
  warn("The top-level `frontend` package has been deprecated. "
Traceback (most recent call last):
  File "/Users/chris/Library/Enthought/Canopy_64bit/User/bin/ipython", line 10, in <module>
    sys.exit(launch_new_instance())
  File "/Users/chris/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/config/application.py", line 537, in launch_instance
    app.initialize(argv)
  File "<string>", line 2, in initialize
  File "/Users/chris/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/config/application.py", line 89, in catch_config_error
    return method(app, *args, **kwargs)
  File "/Users/chris/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/terminal/ipapp.py", line 310, in initialize
    super(TerminalIPythonApp, self).initialize(argv)
  File "<string>", line 2, in initialize
  File "/Users/chris/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/config/application.py", line 89, in catch_config_error
    return method(app, *args, **kwargs)
  File "/Users/chris/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/core/application.py", line 361, in initialize
    self.parse_command_line(argv)
  File "/Users/chris/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/terminal/ipapp.py", line 305, in parse_command_line
    return super(TerminalIPythonApp, self).parse_command_line(argv)
  File "<string>", line 2, in parse_command_line
  File "/Users/chris/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/config/application.py", line 89, in catch_config_error
    return method(app, *args, **kwargs)
  File "/Users/chris/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/config/application.py", line 467, in parse_command_line
    return self.initialize_subcommand(subc, subargv)
  File "<string>", line 2, in initialize_subcommand
  File "/Users/chris/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/config/application.py", line 89, in catch_config_error
    return method(app, *args, **kwargs)
  File "/Users/chris/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/config/application.py", line 399, in initialize_subcommand
    subapp = import_item(subapp)
  File "/Users/chris/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/utils/importstring.py", line 42, in import_item
    module = __import__(package, fromlist=[obj])
  File "/Users/chris/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/html/notebookapp.py", line 64, in <module>
    from .services.kernels.kernelmanager import MappingKernelManager
  File "/Users/chris/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/html/services/kernels/kernelmanager.py", line 21, in <module>
    from IPython.kernel.multikernelmanager import MultiKernelManager
  File "/Users/chris/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/kernel/__init__.py", line 8, in <module>
    from .client import KernelClient
  File "/Users/chris/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/kernel/client.py", line 38, in <module>
    class KernelClient(LoggingConfigurable, ConnectionFileMixin):
  File "/Users/chris/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/kernel/client.py", line 55, in KernelClient
    context = Instance(zmq.Context)
AttributeError: 'module' object has no attribute 'Context'
4

0 に答える 0