-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jupyter-matlab-proxy kernel not working on Mac M1 with Ventura 13.2.1 #23
Comments
Hi @cerkut We've seen these issues resolve themselves when users create a clean python environment. conda create -n myenv python=3.10 jupyterlab -y
conda activate myenv
python3 -m pip install jupyter-matlab-proxy
jupyter lab |
Unfortunately downgrading |
Thanks, I created a new environment per instructions, only needed to add nbdev to pip install. In the new environment, jupyterlab adds both MATLAB Kernel and Open MATLAB as launcher. Thanks for the suggestion; I think the root error is pointing towards requests and json parsing. Long list of errors on python=3.10 following the new myenv suggestion
|
Hi @cerkut Thank you for trying that out! A bit more context in terms of whats going on here:
Could you please give the outputs of the following commands:
>> !jupyter server list
>> !jupyter notebook list
>> !env
>> ver Please verify that the kernel either works or fails?
$ jupyter server list
# Sample output:
Currently running servers:
http://localhost:8889/?token=3dabb9aa8ec0aba66f2f5fd70a213accfeb1c2d1e2adda20 ::
$ curl -L <Fully Qualified Domain Name of machine on which jupyter server is running>:<port>/matlab/get_status?token=<get token from previous output>
#for example:
curl -L localhost:8889/matlab/get_status?token=3dabb9aa8ec0aba66f2f5fd70a213accfeb1c2d1e2adda20
*Please share the output*
# Sample output:
{"matlab": {"status": "up", "version": "R2023a"}, "licensing": {"type": "MHLM", "emailAddress": "[email protected]", "entitlements": [{"id": "11112222", "label": "MATLAB - Staff Use", "license_number": "12312312"}], "entitlementId": "898989"}, "loadUrl": null, "error": null, "wsEnv": ""}
# where **3dabb9aa8ec0aba66f2f5fd70a213accfeb1c2d1e2adda20** was the unique token set for my notebook server
Thank you for your continued support with debugging this issue with us! Look forward to your responses.... |
Hi @cerkut Further investigation leads us to believe that the issue is most likely related to Jupyter's Password Authentication mechanism. Would you please :
If that works, then it verifies that Password based authentication prevents the MATLAB Kernel from communicating with MATLAB. Kindly confirm. |
That's it! |
I set the jupyter-matlab-proxy on ubuntu without problems. But on Mac M1 with Ventura 13.2.1
I can only "open MATLAB" but cannot run the MATLAB kernel. In a typical use case with python 3.8 I get the following chain of errors; and the kernel dies as a result. I have tried with every python 3.7-3.10 using conda envs, but similar errors in all trials. Any suggestions?
Long list of errors on python=3.8
The text was updated successfully, but these errors were encountered: