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.com/oauth/2.0/authorize?scope=basic+netdisk&redirect_uri=oob&response_type=code&client_id=q8WE4EpCsau1oS0MplgMKNBn And authorize this app Pa