fig.add_layer(gmaps.heatmap_layer(locations, weights=weights))我一直在使用指南中的代码(在pychram和jupyter笔记本上),但当我运行代码(pychram/jupyter/terminal)时,我得不到像指南中那样的输出映射。只是一个很好的老式的
Process finished with exit code 0
我最近将我的python从3.10降级到3.9,因为很少有库不能工作,特别是我遇到了jupyter安装的问题。但是,由于我的python性能下降,我的jupyter命令无法作为示例使用:我正在尝试使用以下代码在.py中转换我的.ipynb文件。!jupyternbextension enable
or !jupyternbextension ena