一个星期以来,我一直在尝试将我的google笔记本与google云连接起来,但在google云终端中执行以下步骤:
1) gcloud init and then choose the appropriatenotebook --NotebookApp.allow_origin='https://colab.research.google.com' --port=8888 --NotebookApp.port_retries
因此,我试图按照谷歌的指示将谷歌Colab链接到安装在我的linux (ubuntu)机器上的Jupyter笔记本电脑:https://research.google.com/colaboratory/local-runtimes.html 笔记本服务器启动得很好,但是当通过GoogleColab连接到它时,连接失败,我得到了“禁止”的错误。(base) m
我已经在我的机器上安装了TensorFlow,但是我一直收到错误:UsageError: Line magic function `%tensorflow_version` not found.我运行的代码如下(Jupyter Notebook) %tensorflow_version 1.xprint(tf.__version__)