Results 690 comments of Steven Silvester

It could very well be that `tempfile` is bringing along a different ssl. Does the kernel work if you move the `tempfile` import to after the matlab engine import?

I released `0.14.3` with an import reorder, does that release do the trick?

Hi @JuanInATrillion, what is the output of `python -m matlab_kernel.check`?

Does the following code work from within a python interactive session? ```python engine = matlab.engine.start_matlab() engine.set(0., "defaultfigurepaperpositionmode", "manual", nargout=0) ```

Hmm, it is hard for me to diagnose because I don't have a copy of Matlab myself. One other thing you could try is launching as `jupyter notebook --debug` and...

Okay, it looks like it wasn't able to import `matlab.engine` [here](https://github.com/Calysto/matlab_kernel/blob/master/matlab_kernel/kernel.py#L2), which also prevented `MatlabExecutionError` from importing. That's why you got two errors. Can you please run `jupyter kernelspec list`,...

- We use `"jupyter_core>=4.12,!=5.0.*",` to pick up `ensure_async`. - I don't follow, it looks like there are sync and async versions of `rename` and `trust_notebook` in [server](https://github.com/jupyter-server/jupyter_server/blob/dd04a019ab91b6acf763ea35085c8c413a995904/jupyter_server/services/contents/manager.py#L1026), either should work...

You can use [`run_sync`](https://github.com/jupyter/jupyter_core/blob/bc81ed6c8d80d4d360af2a857d802bbaa94087b4/jupyter_core/utils/__init__.py#L130) from `jupyter_core` to convert an async function to a sync one, effectively.

Ideally though, the Jupytext class would be async as well.

Hi @pedrocamargo, we ended up using this [pattern](https://github.com/mongodb-labs/mongo-arrow/blob/dbd86166a75848024b5728dc1c9c4929052a04ad/bindings/python/setup.py#L134): ```python import numpy as np import pyarrow as pa # From https://arrow.apache.org/docs/python/integration/extending.html#example # The Numpy C headers are currently required ext.include_dirs.append(np.get_include()) ext.include_dirs.append(pa.get_include())...