我是一名天文学课程的助教,试图在谷歌的colab中使用pywwt.jupyter.WWTJupyterWidget
用于实验室。我能够在我的本地机器上运行它。然而,我的目标是让它在colab上运行,以避免需要学生安装任何软件。这是我的代码:
Image of code run thus far in Colab
!pip -q install --upgrade astropy
!pip -q install pywwt
from pywwt.jupyter import WWTJupyterWidget
%gui qt # Here I have also attempted to put: %notebook, %gui notebook, %matplotlib notebook
wwt = WWTJupyterWidget()
wwt
这最后一行没有输出,应该会产生一个交互式的天空图。我的问题是,有没有可能让这个输出在Colab中工作?如果有,需要做什么才能让它工作
目前没有回答
相关问题 更多 >
编程相关推荐