* some progress matlab-kernel, a python path problem?
@ 2021-06-16 15:47 Uwe Brauer
2021-06-16 16:05 ` John Kitchin
0 siblings, 1 reply; 4+ messages in thread
From: Uwe Brauer @ 2021-06-16 15:47 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: some progress matlab-kernel, a python path problem?
2021-06-16 15:47 some progress matlab-kernel, a python path problem? Uwe Brauer
@ 2021-06-16 16:05 ` John Kitchin
2021-06-16 19:15 ` Uwe Brauer
2021-06-22 19:40 ` [SOLVED] (was: some progress matlab-kernel, a python path problem?) Uwe Brauer
0 siblings, 2 replies; 4+ messages in thread
From: John Kitchin @ 2021-06-16 16:05 UTC (permalink / raw)
To: emacs-orgmode
[-- 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 --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: some progress matlab-kernel, a python path problem?
2021-06-16 16:05 ` John Kitchin
@ 2021-06-16 19:15 ` Uwe Brauer
2021-06-22 19:40 ` [SOLVED] (was: some progress matlab-kernel, a python path problem?) Uwe Brauer
1 sibling, 0 replies; 4+ messages in thread
From: Uwe Brauer @ 2021-06-16 19:15 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 609 bytes --]
>>> "JK" == John Kitchin <jkitchin@andrew.cmu.edu> writes:
> 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:
Thanks that looks very interesting.
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [SOLVED] (was: some progress matlab-kernel, a python path problem?)
2021-06-16 16:05 ` John Kitchin
2021-06-16 19:15 ` Uwe Brauer
@ 2021-06-22 19:40 ` Uwe Brauer
1 sibling, 0 replies; 4+ messages in thread
From: Uwe Brauer @ 2021-06-22 19:40 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 683 bytes --]
>>> "JK" == John Kitchin <jkitchin@andrew.cmu.edu> writes:
> 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.
It turned out that I need to install
pip3 install --user numpy
pip3 install --user pymatbridge
Where pip3 is the MaCOS 10.15 version
Now everything is fine.
Thanks
Uwe
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-06-22 19:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-16 15:47 some progress matlab-kernel, a python path problem? Uwe Brauer
2021-06-16 16:05 ` John Kitchin
2021-06-16 19:15 ` Uwe Brauer
2021-06-22 19:40 ` [SOLVED] (was: some progress matlab-kernel, a python path problem?) Uwe Brauer
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).