admin管理员组

文章数量:1582962

1、安装环境

系统环境:

Linux 系统 + Python 2.7

安装软件工具:

pip install requests
pip install bypy

可能出现问题:

原因在于ImportError: 'module' object has no attribute 'check_specifier'

执行以下命令,更新一下setuptools

sudo pip install --upgrade setuptools==30.1.0

2、授权

[root@ineedle ~]# bypy info
Please visit:   # 访问下边这个连接,复制授权码
https://openapi.baidu/oauth/2.0/authorize?scope=basic+netdisk&redirect_uri=oob&response_type=code&client_id=q8WE4EpCsau1oS0MplgMKNBn
And authorize this app
Paste the Authorization Code here within 10 minutes.
Press [Enter] when you are done    # 提示在下边粘贴授权码

本文标签: 绑定百度网Linux