Issues in Jupyter
The most common issue in the Jupyter notebook, or Jupyter Lab happens when the notebook server and the kernel do not share the same Python environment. When you install solara via the notebook (e.g.
!pip install solara), it will install the ipyvue and ipyvuetify libraries, two of its dependencies. These libraries will get installed in the Python environment of your Python kernel.
For instance, running the following in AWS SageMaker, will give you information about the Python environment of the kernel.
>>> import sys
While if we inspect the output of
!ps aux | grep jupyter, we see that the notebook server is using the Python executable at
The solution is to run
!/home/ec2-user/anaconda3/envs/JupyterSystemEnv/bin/python3.7 -m pip install ipyvue ipyvuetify, and refresh your browser.
solara.check_jupyter() will perform these checks for you and tell you what to do. However, if it fails and you
end up in this documentation, we should try to improve it by opening an Issue on GitHub.