【发布时间】:2020-05-06 20:27:08
【问题描述】:
我想在 Google Colab 中运行 python 2.x 来训练我用 python 2.x 编写的网络。 https://github.com/you359/Keras-FasterRCNN。不幸的是,我现在做不到。几个月前,我可以在3.x 和2.x 之间进行选择。但现在默认是3.x。
我尝试在我的 Jupyter notebook colab 环境中安装这样的;
!sudo apt update
!sudo apt upgrade
!sudo apt install python2.7
但它仍然将python版本显示为;
!python --version
> Python 3.6.9
我该如何克服这个问题?
【问题讨论】:
标签: python google-colaboratory