From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id Z6UiAeAiymClFQEAgWs5BA (envelope-from ) for ; Wed, 16 Jun 2021 18:12:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id qDtdN98iymAOegAAbx9fmQ (envelope-from ) for ; Wed, 16 Jun 2021 16:12:15 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AF44E2340E for ; Wed, 16 Jun 2021 18:12:14 +0200 (CEST) Received: from localhost ([::1]:46286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ltY9E-0007m3-Hb for larch@yhetil.org; Wed, 16 Jun 2021 12:12:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34164) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltY2h-00035q-Vs for emacs-orgmode@gnu.org; Wed, 16 Jun 2021 12:05:28 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:46753) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ltY2Z-0000Fn-Sd for emacs-orgmode@gnu.org; Wed, 16 Jun 2021 12:05:24 -0400 Received: by mail-wr1-x42a.google.com with SMTP id a11so3262981wrt.13 for ; Wed, 16 Jun 2021 09:05:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=andrew-cmu-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=KfhF1r6mAx4hYN8JloMhzGFSAeEg1o5GRl5j9JfIY4A=; b=0WEpn58xqPzG03mSF5YhoRS7B5OE6dNLRrlG95VXr8Tw8v+lpME7I2e6rOOodawMwX 0mRrVq8K6YrlbSq1vVco2NSI0kTxVLp18PIBV9LQau97OBZ6uq/ijnlYOeXcRQHutqVV vlGkbfPcyA6KWc8aHAlC/f/cBQy5892o0an8k4SFGVPNsnqDl1mqXf22Z8SrqO14wnfS xwbGShxavmm2WZeOTV8MrRohsXc4bGvfVCT0zN5/ARXieJ21Yz5AAfTByy1uhT7abt2U gdVG4K1Ik08K34IvD/wJ9Yg01XHvPuh1fri3Rl3YOOTmO18pJNPBTTbrY0xIxZa+WyyL RFMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=KfhF1r6mAx4hYN8JloMhzGFSAeEg1o5GRl5j9JfIY4A=; b=umYIrGYt+V0w3ssuy2qjW7LMQ+HLAu3IsrWGpp0g4ByfhD6cm5YfENRLBa2m++qcJs S5l0FItappAEv+Q0e2Nh5NescL04kWyISZ3vPJy1bvbSieNnidxwRBPJeS6tqxQo0EXz d8I5wXvno1yuyTRKeXaLupYYDZ517b4D/+0HSk/3TbWjBn8gvzh+eanA/B3wrkSEYtVo OiPLJdkqIg0YYhOHFWpy9zRXcyY/FrAw1aRhNq+J0tX2P9VDvYrpoafnCDm22xT/xP9r sBgIx8DLT4EHEw9IAMkHJDY4S5TALU/8AFhSleS4eW3hw5rH+YZ0JL9U0Z+IK7v9P234 po+Q== X-Gm-Message-State: AOAM53343Gf1xX9oVq9QW3jfXHe7P5fIKWRCV7VE5pybSj9YYZqODs4g SUfgGiObDL8RFxcyOiSsUr3lpgIKvutTapHPKpvGCbgK X-Google-Smtp-Source: ABdhPJy3RB8mwUIOzZr1rf/bj6Jizx/O4h9E7E3obPWjp8qICK7gFAJDF7inU0A+R1R/fQ0HK11Rsc4+I3XHwpdaEZM= X-Received: by 2002:a5d:6acc:: with SMTP id u12mr164322wrw.414.1623859514528; Wed, 16 Jun 2021 09:05:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: John Kitchin Date: Wed, 16 Jun 2021 12:05:03 -0400 Message-ID: Subject: Re: some progress matlab-kernel, a python path problem? To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="00000000000087594a05c4e441f8" Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=johnrkitchin@gmail.com; helo=mail-wr1-x42a.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623859935; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=KfhF1r6mAx4hYN8JloMhzGFSAeEg1o5GRl5j9JfIY4A=; b=p2JZXka7c66hwEJrwnzNgEv3e4BaYkpSWGeKDWKY34RopkOz1oR0PGHXE125wRkTqxYjCs P7L+YJDFX4BIli+vmcTzD7pBjROdLE3Z/MrTvVgUP0mjI9NYOJUnj2Utxg2eHkILPsHC43 jZ1A8O5v0a5BYFipraUHgNM27afHiwu/QprUHs5uusXrYw9fBGK1AE5gpKhUq4BqXfq1Ai ly7WGPTrj1rhVUHhLlPLDrIPWA3GAppYraijajFg3AFXaDuORvViky855Kwp1+VnMQfAin MvHilLpSVeAOTU/+F+KjVN4HpdGhIoryizrGwh9T1XpfTCWHYlo2mzjhmXMsIw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623859935; a=rsa-sha256; cv=none; b=FPPkrH8XDy+UrWOvwrPaMvulDT5CyxhqIV0/2P/2s3NnwUiwxJPVMnLpHyFEkP2sRaVUHS GsFrtkXAuzJbhPkiajTp+6VXXGpU4u/+6Bca+EHRqEvgO9xOqWf+An8uzAlo1VadgzAuf+ +xRF/u5wxNZ5CUVmKl+WFNtFbUnvUtl1CBVVkHIz4iePoHgtk0t2/ZMbb1OY/DDw3brvbD btv4Czwt4xwIwbBfFEfWLfAQ1c08ifK7DcW7D5kNIPMfBzfJVmyUkdLWeXSiDriPj3MXdI 56kesoXPSR/kYYepL5iGyxhSQDlETJCiO8bSdCkmhfmU60KNfANyKlIEHds9WQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=andrew-cmu-edu.20150623.gappssmtp.com header.s=20150623 header.b=0WEpn58x; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.52 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=andrew-cmu-edu.20150623.gappssmtp.com header.s=20150623 header.b=0WEpn58x; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=andrew.cmu.edu (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: AF44E2340E X-Spam-Score: -1.52 X-Migadu-Scanner: scn1.migadu.com X-TUID: iQu+RU+qvOQC --00000000000087594a05c4e441f8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I would see if you can open a jupyter notebook and start a notebook with the mat lab kernel. If not, it either isn=E2=80=99t 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 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 > > | sys.exit(main()) > | File > "/Users/oub/Library/Python/3.8/lib/python/site-packages/jupyter_core/appl= ication.py", > line 254, in launch_instance > | return super(JupyterApp, cls).launch_instance(argv=3Dargv, **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/a= pp.py", > line 136, in initialize > | self.init_shell() > | File > "/Users/oub/Library/Python/3.8/lib/python/site-packages/jupyter_console/a= pp.py", > line 103, in init_shell > | JupyterConsoleApp.initialize(self) > | File > "/Users/oub/Library/Python/3.8/lib/python/site-packages/jupyter_client/co= nsoleapp.py", > line 343, in initialize > | self.init_kernel_manager() > | File > "/Users/oub/Library/Python/3.8/lib/python/site-packages/jupyter_client/co= nsoleapp.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/ma= nager.py", > line 337, in start_kernel > | kernel_cmd, kw =3D self.pre_start_kernel(**kw) > | File > "/Users/oub/Library/Python/3.8/lib/python/site-packages/jupyter_client/ma= nager.py", > line 292, in pre_start_kernel > | kernel_cmd =3D self.format_kernel_cmd(extra_arguments=3Dextra_argum= ents) > | File > "/Users/oub/Library/Python/3.8/lib/python/site-packages/jupyter_client/ma= nager.py", > line 210, in format_kernel_cmd > | cmd =3D self.kernel_spec.argv + extra_arguments > | File > "/Users/oub/Library/Python/3.8/lib/python/site-packages/jupyter_client/ma= nager.py", > line 114, in kernel_spec > | self._kernel_spec =3D > self.kernel_spec_manager.get_kernel_spec(self.kernel_name) > | File > "/Users/oub/Library/Python/3.8/lib/python/site-packages/jupyter_client/ke= rnelspec.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 --00000000000087594a05c4e441f8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I would see if you can open a jupyter notebook and start = a notebook with the mat lab kernel. If not, it either isn=E2=80=99t install= ed, or maybe is installed in a different jupyter.=C2=A0

If you get errors here, the issue is outsid= e of org mode. For example, the hylang kernel quit working for me a while a= go.=C2=A0


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):
|=C2=A0 =C2=A0File "/Users/oub/Library/Python/3.8/bin/jupyter-console&= quot;, line 10, in <module>
|=C2=A0 =C2=A0 =C2=A0sys.exit(main())
|=C2=A0 =C2=A0File "/Users/oub/Library/Python/3.8/lib/python/site-pack= ages/jupyter_core/application.py", line 254, in launch_instance
|=C2=A0 =C2=A0 =C2=A0return super(JupyterApp, cls).launch_instance(argv=3Da= rgv, **kwargs)
|=C2=A0 =C2=A0File "/Users/oub/Library/Python/3.8/lib/python/site-pack= ages/traitlets/config/application.py", line 844, in launch_instance |=C2=A0 =C2=A0 =C2=A0app.initialize(argv)
|=C2=A0 =C2=A0File "/Users/oub/Library/Python/3.8/lib/python/site-pack= ages/traitlets/config/application.py", line 87, in inner
|=C2=A0 =C2=A0 =C2=A0return method(app, *args, **kwargs)
|=C2=A0 =C2=A0File "/Users/oub/Library/Python/3.8/lib/python/site-pack= ages/jupyter_console/app.py", line 136, in initialize
|=C2=A0 =C2=A0 =C2=A0self.init_shell()
|=C2=A0 =C2=A0File "/Users/oub/Library/Python/3.8/lib/python/site-pack= ages/jupyter_console/app.py", line 103, in init_shell
|=C2=A0 =C2=A0 =C2=A0JupyterConsoleApp.initialize(self)
|=C2=A0 =C2=A0File "/Users/oub/Library/Python/3.8/lib/python/site-pack= ages/jupyter_client/consoleapp.py", line 343, in initialize
|=C2=A0 =C2=A0 =C2=A0self.init_kernel_manager()
|=C2=A0 =C2=A0File "/Users/oub/Library/Python/3.8/lib/python/site-pack= ages/jupyter_client/consoleapp.py", line 295, in init_kernel_manager |=C2=A0 =C2=A0 =C2=A0self.kernel_manager.start_kernel(**kwargs)
|=C2=A0 =C2=A0File "/Users/oub/Library/Python/3.8/lib/python/site-pack= ages/jupyter_client/manager.py", line 337, in start_kernel
|=C2=A0 =C2=A0 =C2=A0kernel_cmd, kw =3D self.pre_start_kernel(**kw)
|=C2=A0 =C2=A0File "/Users/oub/Library/Python/3.8/lib/python/site-pack= ages/jupyter_client/manager.py", line 292, in pre_start_kernel
|=C2=A0 =C2=A0 =C2=A0kernel_cmd =3D self.format_kernel_cmd(extra_arguments= =3Dextra_arguments)
|=C2=A0 =C2=A0File "/Users/oub/Library/Python/3.8/lib/python/site-pack= ages/jupyter_client/manager.py", line 210, in format_kernel_cmd
|=C2=A0 =C2=A0 =C2=A0cmd =3D self.kernel_spec.argv + extra_arguments
|=C2=A0 =C2=A0File "/Users/oub/Library/Python/3.8/lib/python/site-pack= ages/jupyter_client/manager.py", line 114, in kernel_spec
|=C2=A0 =C2=A0 =C2=A0self._kernel_spec =3D self.kernel_spec_manager.get_ker= nel_spec(self.kernel_name)
|=C2=A0 =C2=A0File "/Users/oub/Library/Python/3.8/lib/python/site-pack= ages/jupyter_client/kernelspec.py", line 230, in get_kernel_spec
|=C2=A0 =C2=A0 =C2=A0raise 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


--
J= ohn

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

=
--00000000000087594a05c4e441f8--