在Google Colab中上传kaggle.json文件时出错

时间:2020-01-16 06:17:19

标签: google-colaboratory kaggle

使用以下命令在Google colab中上传kaggle.json文件时发现问题 从google.colab导入文件 已上载= files.upload()

错误:

*MessageError                              Traceback (most recent call last)
<ipython-input-7-21dc3c638f66> in <module>()
      1 from google.colab import files
----> 2 uploaded = files.upload()
2 frames
/usr/local/lib/python3.6/dist-packages/google/colab/_message.py in read_reply_from_input(message_id, timeout_sec)

104 reply.get('colab_msg_id')== message_id): 105如果回复“错误”: -> 106引发MessageError(reply ['error']) 107返回reply.get('data',无) 108 MessageError:TypeError:无法读取未定义的属性'_uploadFiles'*

0 个答案:

没有答案