This folder contains troubleshooting.py
, a Python script that checks your environment for the dependencies required to run MATLAB Integration for Jupyter. The script prints the results in your terminal.
- Python
Ensure the Python executable you use to run the troubleshooting script is in the same environment where you want to use the integration.
Run the troubleshooting script:
$ curl https://raw.githubusercontent.com/mathworks/jupyter-matlab-proxy/main/troubleshooting/troubleshooting.py | python -
If your platform does not support curl
, download troubleshooting.py and run it:
$ python troubleshooting.py
You can use logs to assist debugging when using MATLAB Integration for Jupyter. Set the environment variable MWI_JUPYTER_LOG_LEVEL
to one of the following: NOTSET
, DEBUG
, INFO
, WARN
, ERROR
, or CRITICAL
. The default value is INFO
. For more information on Python log levels, see Logging Levels (Python).
To set the environment variable, use the appropriate command for your environment. For example, in Linux, use the following:
# Set the logging environment variable
$ export MWI_JUPYTER_LOG_LEVEL="DEBUG"
# Start Jupyter
$ jupyter lab
Copyright 2023-2024 The MathWorks, Inc.