1 | initial version |
I asked this question on the ipywidgets github page and was able to solve this issue.
In short, as explained to me on github, the version of ipywidgets that comes installed with SageMath 8.1 (version 6.0.0) is too old to interface with the widgetsnbextension that anaconda jupyter was using. The solution was to upgrade SageMath's ipywidgets package.
I first had to install ssl in sage first, which I did by following the instructions in this thread. I ran the following commands in order: sage -i openssl sage -f python2 sage -i pyopenssl
After about 2 hours of rebuilding, this step was complete and then I ran the following pip command to upgrade ipywidgets and all of its dependencies for Sage: sage -pip install --upgrade ipywidgets
This completed successfully, so I did some testing and ipywidgets (and interact) elements now work perfectly in my anaconda jupyter notebook when I use the SageMath kernel.
2 | No.2 Revision |
I asked this question on the ipywidgets github page and was able to solve this issue.
In short, as explained to me on github, the version of ipywidgets that comes installed with SageMath 8.1 (version 6.0.0) is too old to interface with the widgetsnbextension that anaconda jupyter was using. The solution was to upgrade SageMath's ipywidgets package.
I first had to install ssl in sage first, which I did by following the instructions in this thread. I ran the following commands in order:
order:
sage -i opensslsage -f python2sage -i pyopenssl
After about 2 hours of rebuilding, this step was complete and then I ran the following pip command to upgrade ipywidgets and all of its dependencies for Sage: sage -pip install --upgrade ipywidgets
This completed successfully, so I did some testing and ipywidgets (and interact) elements now work perfectly in my anaconda jupyter notebook when I use the SageMath kernel.
3 | No.3 Revision |
I asked this question on the ipywidgets github page and was able to solve this issue.
In short, as explained to me on github, the version of ipywidgets that comes installed with SageMath 8.1 (version 6.0.0) is too old to interface with the widgetsnbextension that anaconda jupyter was using. The solution was to upgrade SageMath's ipywidgets package.
I first had to install ssl in sage first, which I did by following the instructions in this thread. I ran the following commands in order:
sage -i
opensslopensslsage -f
python2python2sage -i pyopenssl
After about 2 hours of rebuilding, this step was complete and then I ran the following pip command to upgrade ipywidgets and all of its dependencies for Sage: sage -pip install --upgrade ipywidgets
This completed successfully, so I did some testing and ipywidgets (and interact) elements now work perfectly in my anaconda jupyter notebook when I use the SageMath kernel.
4 | No.4 Revision |
I asked this question on the ipywidgets github page and was able to solve this issue.
In short, as explained to me on github, the version of ipywidgets that comes installed with SageMath 8.1 (version 6.0.0) is too old to interface with the widgetsnbextension that anaconda jupyter was using. The solution was to upgrade SageMath's ipywidgets package.
I first had to install ssl in sage first, which I did by following the instructions in this thread. I ran the following commands in order:
sage -i openssl
sage -f python2
sage -i pyopenssl
After about 2 hours of rebuilding, this step was complete and then I ran the following pip command to upgrade ipywidgets and all of its dependencies for Sage: sage -pip install --upgrade ipywidgets
This completed successfully, so I did some testing and ipywidgets (and interact) elements now work perfectly in my anaconda jupyter notebook when I use the SageMath kernel.
They also work when I use the SageMath kernel in jupyterlab as well.