Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#48755 closed defect (invalid)

py34-ipython: ImportError: No module named 'notebook'

Reported by: basmac Owned by: lpsinger (Leo Singer)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: seanfarley (Sean Farley), stromnov (Andrey Stromnov)
Port: py-ipython

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Working fine with versions as of Aug 20, with the port self update on Sept 1, the following occurs. Going back to previous /opt/local/Library/Frameworks/Python.framework/Versions the same command works fine. Here is the error using the Sept 1 macports with the same install

[mac35:Research/CalWater2015/G4_frd] ngaggini% ipython notebook
Traceback (most recent call last):
  File "/opt/local/bin/ipython", line 5, in <module>
    start_ipython()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/IPython/__init__.py", line 118, in start_ipython
    return launch_new_instance(argv=argv, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/traitlets/config/application.py", line 591, in launch_instance
    app.initialize(argv)
  File "<string>", line 2, in initialize
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/traitlets/config/application.py", line 75, in catch_config_error
    return method(app, *args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/IPython/terminal/ipapp.py", line 305, in initialize
    super(TerminalIPythonApp, self).initialize(argv)
  File "<string>", line 2, in initialize
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/traitlets/config/application.py", line 75, in catch_config_error
    return method(app, *args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/IPython/core/application.py", line 386, in initialize
    self.parse_command_line(argv)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/IPython/terminal/ipapp.py", line 300, in parse_command_line
    return super(TerminalIPythonApp, self).parse_command_line(argv)
  File "<string>", line 2, in parse_command_line
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/traitlets/config/application.py", line 75, in catch_config_error
    return method(app, *args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/traitlets/config/application.py", line 487, in parse_command_line
    return self.initialize_subcommand(subc, subargv)
  File "<string>", line 2, in initialize_subcommand
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/traitlets/config/application.py", line 75, in catch_config_error
    return method(app, *args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/traitlets/config/application.py", line 418, in initialize_subcommand
    subapp = import_item(subapp)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/ipython_genutils/importstring.py", line 31, in import_item
    module = __import__(package, fromlist=[obj])
ImportError: No module named 'notebook'

Change History (3)

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: sean@… stromnov@… added
Description: modified (diff)
Keywords: ipython notebook removed
Owner: changed from macports-tickets@… to aronnax@…
Port: py-ipython added; ipython removed
Summary: ipython notebook failspy34-ipython: ImportError: No module named 'notebook'

comment:2 Changed 9 years ago by stromnov (Andrey Stromnov)

Resolution: invalid
Status: newclosed

Since version 4.0.0 (aka Big Split) IPython no longer support notebook (IPython was renamed to Jupyter and splitted to a bunch of smaller packages) . To enable notebook support please install appropriate py-notebook package or use meta-package py-jupyter. This issue was mentioned in upgrade notes (if you read them).

comment:3 Changed 8 years ago by contactthedvla@…

Thanks, this worked for me on the site

Last edited 8 years ago by contactthedvla@… (previous) (diff)
Note: See TracTickets for help on using tickets.