Closed SCaAg closed 2 months ago
Hi @SCaAg
Thank you for using MATLAB Integration for Jupyter.
From the description of the issue, it seems like the kernel is not able to communicate with MATLAB through Jupyter. Can you please provide the following information for further investigation.
jupyter server list --json
when the Jupyter server in running.Hi @rashedmyt
Thank you for your response and assistance.
I have identified the cause of the issue. It was due to a command-line proxy setting on my local machine, which was interfering with the communication between the MATLAB Kernel and MATLAB.
After adjusting the proxy settings, everything is working correctly now.
Thank you again for your support!
Summary
Hi. I am experiencing an issue similar to the one described in issue #91. I am using MATLAB R2024a on Windows 11 and have followed the instructions to install the MATLAB kernel. However, when I run Jupyter Lab and attempt to execute a MATLAB code block, I receive the following error message:
If I click the "Open MATLAB" button, I can access the web version of MATLAB, but I am still unable to run MATLAB code within Jupyter Lab.
I have tried this with Python 3.10 and Python 3.11 and ensured that both Jupyter Lab and the jupyter-matlab-proxy are up-to-date.
Additionally, I have noticed some errors in the Jupyter Lab backend:
I would greatly appreciate any guidance or assistance in resolving this issue. Thank you for your help!
Browser(s) used
No response
Issue found in
MATLAB Kernel
Script output
matlab - D:\Programs\MATLAB\R2024a\bin\matlab.EXE ok
matlab-proxy-app - C:\Users\lilliu\AppData\Local\Programs\Python\Python310\Scripts\matlab-proxy-app.EXE ok
jupyter - C:\Users\lilliu\AppData\Local\Programs\Python\Python310\Scripts\jupyter.EXE ok
python - C:\Users\lilliu\AppData\Local\Programs\Python\Python310\python.EXE ok
Python 3.10.11
pip - C:\Users\lilliu\AppData\Local\Programs\Python\Python310\Scripts\pip.EXE ok
pip 23.0.1 from C:\Users\lilliu\AppData\Local\Programs\Python\Python310\lib\site-packages\pip (python 3.10)
python3 - None X Recommendation: python3 is not installed. Please install python3.
Windows 10 Windows-10-10.0.22631-SP0 uname_result(system='Windows', node='Legion', release='10', version='10.0.22631', machine='AMD64')
conda - None
jupyter_client 8.6.2 jupyter_core 5.7.2 jupyter-events 0.10.0 jupyter-lsp 2.2.5 jupyter-matlab-proxy 0.14.0 jupyter_server 2.14.2 jupyter_server_proxy 4.4.0 jupyter_server_terminals 0.5.3 jupyterlab 4.2.5 jupyterlab_pygments 0.3.0 jupyterlab_server 2.27.3 matlab-proxy 0.19.0 notebook_shim 0.2.4[notice] A new release of pip is available: 23.0.1 -> 24.2 [notice] To update, run: python.exe -m pip install --upgrade pip
Config dir: C:\Users\lilliu.jupyter
Config dir: C:\Users\lilliu\AppData\Local\Programs\Python\Python310\etc\jupyter jupyter_lsp enabled
Config dir: C:\ProgramData\jupyter
JupyterLab v4.2.5 C:\Users\lilliu\AppData\Local\Programs\Python\Python310\share\jupyter\labextensions jupyterlab_pygments v0.3.0 enabled ok (python, jupyterlab_pygments) jupyter_matlab_labextension v1.0.0 enabled ok (python, jupyter_matlab_labextension) @jupyterhub/jupyter-server-proxy v4.4.0 enabled ok