Package Details: jupyter-matlab_kernel-git 0.16.11.r0.g1bc5c76-1

Git Clone URL: https://aur.archlinux.org/jupyter-matlab_kernel-git.git (read-only, click to copy)
Package Base: jupyter-matlab_kernel-git
Description: A Jupyter/IPython kernel for Matlab
Upstream URL: https://github.com/Calysto/matlab_kernel.git
Licenses: BSD
Conflicts: jupyter-matlab_kernel
Provides: jupyter-matlab_kernel
Submitter: oppenhizzy
Maintainer: None
Last Packager: silverbluep
Votes: 3
Popularity: 0.000000
First Submitted: 2016-06-23 17:32 (UTC)
Last Updated: 2020-11-16 16:50 (UTC)

Dependencies (6)

Required by (0)

Sources (2)

Pinned Comments

silverbluep commented on 2021-01-26 05:08 (UTC)

I also maintain the matlab package; and that package automatically builds python support alongside main installation. For other installations; you want to install matlab engine for python, which is available to install in your matlab directory OR you can use the standalone PKGBUILD as long as you have a running matlab installation already on your machine, to be able to utilize this.

Latest Comments

silverbluep commented on 2021-01-26 05:08 (UTC)

I also maintain the matlab package; and that package automatically builds python support alongside main installation. For other installations; you want to install matlab engine for python, which is available to install in your matlab directory OR you can use the standalone PKGBUILD as long as you have a running matlab installation already on your machine, to be able to utilize this.

silverbluep commented on 2020-11-16 16:51 (UTC)

That definitely is an issue with your matlab engine for python installation; just confirmed that everything works as intended.

I suggest using my matlab pkgbuild to integrate matlab with pacman first. It will also properly build the matlab engine for python systemwide for you.

carlosal1015 commented on 2020-11-16 16:31 (UTC)

For some reason now is not working.

[MetaKernelApp] ERROR | Exception in message handler:
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/ipykernel/kernelbase.py", line 268, in dispatch_shell
    yield gen.maybe_future(handler(stream, idents, msg))
  File "/usr/lib/python3.8/site-packages/tornado/gen.py", line 762, in run
    value = future.result()
  File "/usr/lib/python3.8/site-packages/tornado/gen.py", line 234, in wrapper
    yielded = ctx_run(next, result)
  File "/usr/lib/python3.8/site-packages/ipykernel/kernelbase.py", line 543, in execute_request
    self.do_execute(
  File "/usr/lib/python3.8/site-packages/metakernel/_metakernel.py", line 397, in do_execute
    retval = self.do_execute_direct(code)
  File "/usr/lib/python3.8/site-packages/matlab_kernel/kernel.py", line 109, in do_execute_direct
    retval = self._execute_sync(code)
  File "/usr/lib/python3.8/site-packages/matlab_kernel/kernel.py", line 278, in _execute_sync
    self._matlab.eval(code, nargout=0, stdout=out, stderr=err)
  File "/usr/lib/python3.8/site-packages/matlab_kernel/kernel.py", line 78, in _matlab
    raise ImportError("""
ImportError: 
        Matlab engine not installed:
        See https://www.mathworks.com/help/matlab/matlab-engine-for-python.htm

silverbluep commented on 2020-04-17 03:09 (UTC)

@sicariusnoctis ; I took over the package. It works for me now; but i removed the matlab-engine-for-python hard dependency; as that package is badly managed. Check the matlab_kernel.install for my solutions.

yodaembedding commented on 2019-05-18 10:21 (UTC) (edited on 2019-05-18 10:22 (UTC) by yodaembedding)

This doesn't work. (Installing via sudo pip install matlab_kernel does, however.) Any time I try running a cell, I get:

[MetaKernelApp] ERROR | Exception in message handler:
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/ipykernel/kernelbase.py", line 267, in dispatch_shell
    yield gen.maybe_future(handler(stream, idents, msg))
  File "/usr/lib/python3.7/site-packages/tornado/gen.py", line 1133, in run
    value = future.result()
  File "/usr/lib/python3.7/site-packages/tornado/gen.py", line 326, in wrapper
    yielded = next(result)
  File "/usr/lib/python3.7/site-packages/ipykernel/kernelbase.py", line 534, in execute_request
    user_expressions, allow_stdin,
  File "/usr/lib/python3.7/site-packages/metakernel/_metakernel.py", line 357, in do_execute
    retval = self.do_execute_direct(code)
  File "/usr/lib/python3.7/site-packages/matlab_kernel/kernel.py", line 94, in do_execute_direct
    retval = self._execute_sync(code)
  File "/usr/lib/python3.7/site-packages/matlab_kernel/kernel.py", line 262, in _execute_sync
    self._matlab.eval(code, nargout=0, stdout=out, stderr=err)
  File "/usr/lib/python3.7/site-packages/matlab_kernel/kernel.py", line 68, in _matlab
    if self.__matlab:
AttributeError: 'MatlabKernel' object has no attribute '_MatlabKernel__matlab'

specter119 commented on 2018-07-06 03:34 (UTC)

I update a little https://gist.github.com/specter119/458fabe903aa3ab723fd71a287b4e349

  1. remove the defualt kernel
  2. format the kernel.json

oppenhizzy commented on 2017-07-16 21:10 (UTC)

It should work now.

Schmetzler commented on 2017-07-11 07:59 (UTC)

You should add jupyter-metakernel to some dependencies (I don't know if its just needed to make or also to run)