900字范文,内容丰富有趣,生活中的好帮手!
900字范文 > OSError: Could not find kaggle.json. Make sure it‘s located in /home/user/.kaggle.

OSError: Could not find kaggle.json. Make sure it‘s located in /home/user/.kaggle.

时间:2020-09-07 15:24:55

相关推荐

OSError: Could not find kaggle.json. Make sure it‘s located in /home/user/.kaggle.

Bug: OSError: Could not find kaggle.json. Make sure it’s located in /home/jyjiang/.kaggle. Or use the environment method.

原因:当利用kaggle上传和下载文件时,kaggle需要知道账号的身份信息。

解决:kaggle --> My Account --> API --> Create New API Token,下载得到kaggle.json文件,放在/home/user/.kaggle隐藏文件夹下

kaggle.json

{"username":"***","key":"****1cfb***ef5d*****"}

pip install kaggle #安装kaggle APIkaggle --version #查看kaggle版本

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。