python - Google Colab 无法识别的运行时

标签 python jupyter-notebook ipython google-colaboratory

这可能是一个愚蠢的问题,但我正在使用 Google Colab 为我的学生托管笔记本。我在本地 Anaconda Python 3 环境中创建笔记本,当我将它们上传到 Google Colab 时,会弹出此警告:

enter image description here

我知道它不会造成问题,并且笔记本电脑会运行得很好。但是有没有办法将笔记本运行时更改为 Python 3,这样我的学生就不会看到此消息并感到 panic ?

最佳答案

您可以使用文本编辑器打开笔记本。这只是一个 json 文件。

你可以编辑它,将conda-env-py3-py更改为python3

关于python - Google Colab 无法识别的运行时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62600244/

相关文章:

python - 是否有像 python 和 IPython 一样的 lua 增强型交互式 shell?

python - 如何从 Python 日志记录模块写入 Kafka?

python - 按字符串长度对数据帧进行排序

python - 使用 `if ... else` 或 `if ... return; {implicit else}` 有关系吗?

json - 在 Kotlin 中解析 json

python - 如何修复 vscode 中的 'jupyter notebook server failed to launch in time'?

python-3.x - 如何在 google Dataproc 上安装 Jupyter notebook

python - IPython 笔记本之间的链接

python - 在带有 Alpine Linux 的 Docker 中使用 pytz 作为非 root 会导致 "IOError: [Errno 13] Permission denied"

python-3.x - 无法在jupyternotebook(或jupyterlab session )中更改目录(shell命令)