emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: emacs-orgmode@gnu.org
Subject: Re: some progress matlab-kernel, a python path problem?
Date: Wed, 16 Jun 2021 12:05:03 -0400	[thread overview]
Message-ID: <CAJ51ETqcwzum82_PF8zopvFVYD=7wm8-n+i5V2c3283NnxYuxw@mail.gmail.com> (raw)
In-Reply-To: <m28s39n75r.fsf@mat.ucm.es>

[-- Attachment #1: Type: text/plain, Size: 3636 bytes --]

I would see if you can open a jupyter notebook and start a notebook with
the mat lab kernel. If not, it either isn’t installed, or maybe is
installed in a different jupyter.

If you get errors here, the issue is outside of org mode. For example, the
hylang kernel quit working for me a while ago.

See
https://github.com/Calysto/matlab_kernel#kernel-times-out-while-starting
for some troubleshooting tips.

On Wed, Jun 16, 2021 at 11:48 AM Uwe Brauer <oub@mat.ucm.es> wrote:

>
>
> Hi
>
> So I switched from finks python 3.7 to MacOS 3.8
> I think I set all paths (mac does not locate them in
> HOME/.local but in
> HOME/Library
>
> However when I fire up the org-babel command the iphthon console reads
> as
>
> ,----
> | Traceback (most recent call last):
> |   File "/Users/oub/Library/Python/3.8/bin/jupyter-console", line 10, in
> <module>
> |     sys.exit(main())
> |   File
> "/Users/oub/Library/Python/3.8/lib/python/site-packages/jupyter_core/application.py",
> line 254, in launch_instance
> |     return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
> |   File
> "/Users/oub/Library/Python/3.8/lib/python/site-packages/traitlets/config/application.py",
> line 844, in launch_instance
> |     app.initialize(argv)
> |   File
> "/Users/oub/Library/Python/3.8/lib/python/site-packages/traitlets/config/application.py",
> line 87, in inner
> |     return method(app, *args, **kwargs)
> |   File
> "/Users/oub/Library/Python/3.8/lib/python/site-packages/jupyter_console/app.py",
> line 136, in initialize
> |     self.init_shell()
> |   File
> "/Users/oub/Library/Python/3.8/lib/python/site-packages/jupyter_console/app.py",
> line 103, in init_shell
> |     JupyterConsoleApp.initialize(self)
> |   File
> "/Users/oub/Library/Python/3.8/lib/python/site-packages/jupyter_client/consoleapp.py",
> line 343, in initialize
> |     self.init_kernel_manager()
> |   File
> "/Users/oub/Library/Python/3.8/lib/python/site-packages/jupyter_client/consoleapp.py",
> line 295, in init_kernel_manager
> |     self.kernel_manager.start_kernel(**kwargs)
> |   File
> "/Users/oub/Library/Python/3.8/lib/python/site-packages/jupyter_client/manager.py",
> line 337, in start_kernel
> |     kernel_cmd, kw = self.pre_start_kernel(**kw)
> |   File
> "/Users/oub/Library/Python/3.8/lib/python/site-packages/jupyter_client/manager.py",
> line 292, in pre_start_kernel
> |     kernel_cmd = self.format_kernel_cmd(extra_arguments=extra_arguments)
> |   File
> "/Users/oub/Library/Python/3.8/lib/python/site-packages/jupyter_client/manager.py",
> line 210, in format_kernel_cmd
> |     cmd = self.kernel_spec.argv + extra_arguments
> |   File
> "/Users/oub/Library/Python/3.8/lib/python/site-packages/jupyter_client/manager.py",
> line 114, in kernel_spec
> |     self._kernel_spec =
> self.kernel_spec_manager.get_kernel_spec(self.kernel_name)
> |   File
> "/Users/oub/Library/Python/3.8/lib/python/site-packages/jupyter_client/kernelspec.py",
> line 230, in get_kernel_spec
> |     raise NoSuchKernel(kernel_name)
> | jupyter_client.kernelspec.NoSuchKernel: No such kernel named matlab
> |
> | Process kernel-matlab exited abnormally with code 1
> `----
>
> But the matlab_kernel is installed
>
> I am puzzled, any python guru could enlighten me please?
>
> Regards
>
> Uwe Brauer
>
>
> --
John

-----------------------------------
Professor John Kitchin (he/him/his)
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu

[-- Attachment #2: Type: text/html, Size: 4644 bytes --]

  reply	other threads:[~2021-06-16 16:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-16 15:47 some progress matlab-kernel, a python path problem? Uwe Brauer
2021-06-16 16:05 ` John Kitchin [this message]
2021-06-16 19:15   ` Uwe Brauer
2021-06-22 19:40   ` [SOLVED] (was: some progress matlab-kernel, a python path problem?) Uwe Brauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ51ETqcwzum82_PF8zopvFVYD=7wm8-n+i5V2c3283NnxYuxw@mail.gmail.com' \
    --to=jkitchin@andrew.cmu.edu \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).