Sal*_*ngo 5 python google-colaboratory
我目前正在开发一个在 colab 上运行良好的项目,但我想在本地 jupyterlab 上修改并运行它,但该项目中有一些特定于 colab 的函数,例如files并以这种方式output导入from google.colab import filesfrom google.colab import output。
如果您有办法解决这个问题,我将不胜感激。
我在pypi上找到了它,所以基本上你可以在本地安装该模块pip install google-colab,然后在你的笔记本中使用它。
您还可以在这里找到包含所需模块的存储库:https://github.com/googlecolab/colabtools/tree/0162530b8c7f76741ee3e518db34aa5c173e8ebe/google/colab