Open
Description
安装方式
如果你是pip安装: pip install CDNDrive
使用报错
运行 cdrive 报错
$ cdrive
-bash: cdrive: command not found
根据报错,说明:环境变量没配置
解决方案
sudo find / -name cdrive
路径: ~/Library/Python/3.8/bin/cdrive
vim ~/.bash_profile
export PATH=$PATH:~/Library/Python/3.8/bin
source ~/.bash_profile
cdrive
usage: CDNDrive [-h] [-v] {login,cookies,userinfo,upload,download,info,history,help,version,exit} ...
Make Picbeds Great Cloud Storages!
positional arguments:
{login,cookies,userinfo,upload,download,info,history,help,version,exit}
login log in to the site
cookies set cookies to the site
userinfo get userinfo
upload upload a file
download download a file
info show meta info
history show upload history
help show this help message
version show program's version number
exit exit program
optional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
CDNDrive >
Metadata
Metadata
Assignees
Labels
No labels