Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直在https://colab.research.google.com上试验 Jupyter 笔记本,似乎默认情况下它们运行 Python 2.7。
有什么方法可以在 CoLab 上启用 Python 3 支持?
是的!Colab 现已支持 Python3。
创建新笔记本时,现在可以选择 Python2 或 Python3。
对于现有的笔记本,Runtime->Change runtime type会让你切换。
Runtime
Change runtime type
我们将语言信息写入kernelspec笔记本元数据中,因此切换运行时类型不仅仅是每个会话。
kernelspec