[MacPorts] #50608: py-jupyter: its subcommands are versioned, they should not

MacPorts noreply at macports.org
Sun Mar 24 04:05:49 UTC 2019


#50608: py-jupyter: its subcommands are versioned, they should not
--------------------------------------+----------------------
  Reporter:  akimd                    |      Owner:  stromnov
      Type:  defect                   |     Status:  new
  Priority:  Normal                   |  Milestone:
 Component:  ports                    |    Version:  2.3.4
Resolution:                           |   Keywords:
      Port:  py-jupyter, py-notebook  |
--------------------------------------+----------------------

Comment (by chrstphrchvz):

 I believe this issue prevents MacPorts' Jupyter from being easily used
 with the Python extension for Visual Studio Code. The extension tries to
 start Jupyter notebook using `/path/to/python -m jupyter notebook`. I can
 configure it to use MacPorts' Python, but it's not enough for it to work:
 {{{
 $ /opt/local/bin/python3.7 -m jupyter notebook
 Error executing Jupyter command 'notebook': [Errno 2] No such file or
 directory
 }}}

 I'm not sure yet if starting `jupyter-notebook-3.7` manually and then
 giving the extension the URL is a workaround. Alternatively I can ask
 vscode-python if they can accommodate specifying a custom command
 (`jupyter notebook-3.7`) rather than a hardcoded one.

-- 
Ticket URL: <https://trac.macports.org/ticket/50608#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list