GithubHelp home page GithubHelp logo

baiduyuntoaliyun's Introduction

B2A

同步百度云网盘到阿里云

📺 安装

  • pip 安装 需要 Python 版本大于或等于 3.7
pip3 install b2a --upgrade
  • docker 安装
docker run -itd --name b2a --restart always calmyin/b2a:v2021.12.31.1

🤖 功能

  • 登录百度云盘
  • 登录阿里云盘
  • 迁移文件
  • 显示目录

💽 界面

🎄使用

  1. 登录阿里云,需要获取refresh_token

  1. 登录百度云,需要获取cookies

  1. 使用
功能 说明
打开交互操作 b2a
显示命令行说明 b2a -h
显示GUI b2a -g
显示版本号 b2a -v
设置下载目录 b2a -p "e:/download"
登录阿里云 b2a -a "你的refresh_token"
登录百度云 b2a -b "你的cookies"
显示阿里云目录 b2a --alist="/电影"
显示百度云目录 b2a --blist="/文档"
迁移百度云到阿里云 b2a -f "/文档" -t "/文档"
迁移,不删除下载的文件 b2a -f "/文档" -t "/文档" -s

🎨库与引用

📜 免责声明

  1. 本软件为免费开源项目,无任何形式的盈利行为
  2. 本软件不提供各种破解与加速等功能实现
  3. 本软件仅供个人数据的多端备份使用
  4. 严禁使用本软件进行盈利、损坏官方、散落任何违法信息等行为

baiduyuntoaliyun's People

Contributors

cernard avatar coronin avatar freshgeek avatar pengchengyin avatar yaronzz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

baiduyuntoaliyun's Issues

登录失败

环境 使用docker镜像
问题:网络正常,无法正常登录阿里云盘
image

Failed building wheel for BaiduPCS-Py

pip3 install b2a --upgrade
Collecting b2a
Using cached https://files.pythonhosted.org/packages/f2/69/8f39e0ad36081c2cbf8bd66f58c689eb551a13d70fbc77d45e00cdcdda35/b2a-2021.8.17.0-py3-none-any.whl
Collecting tqdm (from b2a)
Using cached https://files.pythonhosted.org/packages/63/f3/b7a1b8e40fd1bd049a34566eb353527bb9b8e9b98f8b6cf803bb64d8ce95/tqdm-4.62.3-py2.py3-none-any.whl
Collecting BaiduPCS-Py (from b2a)
Using cached https://files.pythonhosted.org/packages/c8/3a/efa126e54b12f096e377a009e082aecb934ec9c9f9009e2dd829f87f5ac3/BaiduPCS-Py-0.5.7.tar.gz
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting aigpy (from b2a)
Using cached https://files.pythonhosted.org/packages/38/a2/6668c6bceb8b48d30adee871872b25aef9256336681f1d92a4e293ff5b00/aigpy-2021.12.10.1-py3-none-any.whl
Collecting Cython (from b2a)
Using cached https://files.pythonhosted.org/packages/d3/f9/ea21cea898210d90c58bd25d0b4b352cb677f72c1f3293773cff9bceb409/Cython-0.29.26-cp36-cp36m-win_amd64.whl
Collecting prettytable (from b2a)
Using cached https://files.pythonhosted.org/packages/9e/6d/40a24eaa03ea4418129708fd3f0f17eda73d568f16d4d4fd412566168b4c/prettytable-2.5.0-py3-none-any.whl
Requirement already satisfied, skipping upgrade: requests in c:\users\thinkpad\appdata\local\programs\python\python36\lib\site-packages (from b2a) (2.18.4)
Requirement already satisfied, skipping upgrade: colorama; platform_system == "Windows" in c:\users\thinkpad\appdata\roaming\python\python36\site-packages (from tqdm->b2a) (0.3.9)
Collecting cryptography<4.0.0,>=3.3.1 (from BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/cc/98/8a258ab4787e6f835d350639792527d2eb7946ff9fc0caca9c3f4cf5dcfe/cryptography-3.4.8.tar.gz
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting fastapi<0.64.0,>=0.63.0 (from BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/9f/33/1b643f650688ad368983bbaf3b0658438038ea84d775dd37393d826c3833/fastapi-0.63.0-py3-none-any.whl
Collecting rich<10.0.0,>=9.8.0 (from BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/15/e3/7929cc640f14bffc835bba5efb2f9177007e536429d9fe145765e5f221c4/rich-9.13.0-py3-none-any.whl
Collecting uvicorn[standard]<0.14.0,>=0.13.3 (from BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/c8/de/953f0289508b1b92debdf0a6822d9b88ffb0c6ad471d709cf639a2c8a176/uvicorn-0.13.4-py3-none-any.whl
Requirement already satisfied, skipping upgrade: requests-toolbelt<0.10.0,>=0.9.1 in c:\users\thinkpad\appdata\local\programs\python\python36\lib\site-packages (from BaiduPCS-Py->b2a) (0.9.1)
Collecting Pillow<9.0.0,>=8.1.0 (from BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/8f/10/c8dc9fff37b69b5962b7783ab4835611e83dada453cd9913d82ca2a1321b/Pillow-8.4.0-cp36-cp36m-win_amd64.whl
Collecting aget<0.2.0,>=0.1.17 (from BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/29/60/29231941a30de20a9473026304f4bb470c71207a2724a64f95bc4f39f27d/aget-0.1.17.tar.gz
Collecting typing-extensions<4.0.0,>=3.7.4 (from BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/74/60/18783336cc7fcdd95dae91d73477830aa53f5d3181ae4fe20491d7fc3199/typing_extensions-3.10.0.2-py3-none-any.whl
Collecting filelock<4.0.0,>=3.0.12 (from BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/e8/3b/b59c7bcacc4cccafcd6e927a9e191268657e79a0a75530132cbf03b22c47/filelock-3.4.0-py3-none-any.whl
Collecting chardet<5.0.0,>=4.0.0 (from BaiduPCS-Py->b2a)
Downloading https://files.pythonhosted.org/packages/19/c7/fa589626997dd07bd87d9269342ccb74b1720384a4d739a1872bd84fbe68/chardet-4.0.0-py2.py3-none-any.whl (178kB)
100% |████████████████████████████████| 184kB 23kB/s
Collecting Jinja2<3.0.0,>=2.11.2 (from BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/7e/c2/1eece8c95ddbc9b1aeb64f5783a9e07a286de42191b7204d67b7496ddf35/Jinja2-2.11.3-py2.py3-none-any.whl
Collecting click<8.0.0,>=7.1.2 (from BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/d2/3d/fa76db83bf75c4f8d338c2fd15c8d33fdd7ad23a9b5e57eb6c5de26b430e/click-7.1.2-py2.py3-none-any.whl
Collecting mutagen (from aigpy->b2a)
Using cached https://files.pythonhosted.org/packages/16/b3/f7aa8edf2ff4495116f95fd442b2a346aa55d1d46313143c8814886dbcdb/mutagen-1.45.1-py3-none-any.whl
Collecting wcwidth (from prettytable->b2a)
Using cached https://files.pythonhosted.org/packages/59/7c/e39aca596badaf1b78e8f547c807b04dae603a433d3e7a7e04d67f2ef3e5/wcwidth-0.2.5-py2.py3-none-any.whl
Collecting importlib-metadata; python_version < "3.8" (from prettytable->b2a)
Using cached https://files.pythonhosted.org/packages/a0/a1/b153a0a4caf7a7e3f15c2cd56c7702e2cf3d89b1b359d1f1c5e59d68f4ce/importlib_metadata-4.8.3-py3-none-any.whl
Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in c:\users\thinkpad\appdata\local\programs\python\python36\lib\site-packages (from requests->b2a) (2018.4.16)
Requirement already satisfied, skipping upgrade: urllib3<1.23,>=1.21.1 in c:\users\thinkpad\appdata\local\programs\python\python36\lib\site-packages (from requests->b2a) (1.22)
Requirement already satisfied, skipping upgrade: idna<2.7,>=2.5 in c:\users\thinkpad\appdata\local\programs\python\python36\lib\site-packages (from requests->b2a) (2.6)
Collecting cffi>=1.12 (from cryptography<4.0.0,>=3.3.1->BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/0a/fe/f5090f4b636cef41680510fba13eee107420e6e016a8d30c386eb832a964/cffi-1.15.0-cp36-cp36m-win_amd64.whl
Collecting pydantic<2.0.0,>=1.0.0 (from fastapi<0.64.0,>=0.63.0->BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/38/26/36c97b707300787e8d51b607fc6e94c334f473fcc7519e92e2ec4234b006/pydantic-1.8.2-cp36-cp36m-win_amd64.whl
Collecting starlette==0.13.6 (from fastapi<0.64.0,>=0.63.0->BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/c5/a4/c9e228d7d47044ce4c83ba002f28ff479e542455f0499198a3f77c94f564/starlette-0.13.6-py3-none-any.whl
Collecting commonmark<0.10.0,>=0.9.0 (from rich<10.0.0,>=9.8.0->BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/b1/92/dfd892312d822f36c55366118b95d914e5f16de11044a27cf10a7d71bbbf/commonmark-0.9.1-py2.py3-none-any.whl
Collecting dataclasses<0.9,>=0.7; python_version >= "3.6" and python_version < "3.7" (from rich<10.0.0,>=9.8.0->BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/fe/ca/75fac5856ab5cfa51bbbcefa250182e50441074fdc3f803f6e76451fab43/dataclasses-0.8-py3-none-any.whl
Collecting pygments<3.0.0,>=2.6.0 (from rich<10.0.0,>=9.8.0->BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/78/c8/8d9be2f72d8f465461f22b5f199c04f7ada933add4dae6e2468133c17471/Pygments-2.10.0-py3-none-any.whl
Collecting h11>=0.8 (from uvicorn[standard]<0.14.0,>=0.13.3->BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/60/0f/7a0eeea938eaf61074f29fed9717f2010e8d0e0905d36b38d3275a1e4622/h11-0.12.0-py3-none-any.whl
Collecting watchgod>=0.6; extra == "standard" (from uvicorn[standard]<0.14.0,>=0.13.3->BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/57/35/9a8da3fb6681e6eba662b2d249eea58cebf575e392271efac3344c172c5f/watchgod-0.7-py3-none-any.whl
Collecting PyYAML>=5.1; extra == "standard" (from uvicorn[standard]<0.14.0,>=0.13.3->BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/89/26/0bfd7b756b34c68f8fd158b7bc762b6b1705fc1b3cebf4cdbb53fd9ea75b/PyYAML-6.0-cp36-cp36m-win_amd64.whl
Collecting python-dotenv>=0.13; extra == "standard" (from uvicorn[standard]<0.14.0,>=0.13.3->BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/0e/f1/0317f4b2c5284075a2154fe95539b43c0acecbcb86fe80fcb2645803edd9/python_dotenv-0.19.2-py2.py3-none-any.whl
Collecting websockets==8.*; extra == "standard" (from uvicorn[standard]<0.14.0,>=0.13.3->BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/78/48/9e5bb47b0c26bf02ffcff691a0ef0b1b1ef7824e9b240bad3f494a886897/websockets-8.1-cp36-cp36m-win_amd64.whl
Collecting mugen (from aget<0.2.0,>=0.1.17->BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/cb/6b/f2812aaefba8a43c12f9c77d625d35ddce646d2b0a5c6f624060cfc051e3/mugen-0.4.4.tar.gz
Collecting MarkupSafe>=0.23 (from Jinja2<3.0.0,>=2.11.2->BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/73/60/296031f365b3ae96732225203d864fac7b83a185ed1820c1c87b78e154bc/MarkupSafe-2.0.1-cp36-cp36m-win_amd64.whl
Collecting zipp>=0.5 (from importlib-metadata; python_version < "3.8"->prettytable->b2a)
Using cached https://files.pythonhosted.org/packages/bd/df/d4a4974a3e3957fd1c1fa3082366d7fff6e428ddb55f074bf64876f8e8ad/zipp-3.6.0-py3-none-any.whl
Collecting pycparser (from cffi>=1.12->cryptography<4.0.0,>=3.3.1->BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/62/d5/5f610ebe421e85889f2e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser-2.21-py2.py3-none-any.whl
Collecting httptools (from mugen->aget<0.2.0,>=0.1.17->BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/11/51/eb5faa66ae206c738720b9c58ec6869e0c9b45630ddb7d60d35e2e166ce4/httptools-0.3.0-cp36-cp36m-win_amd64.whl
Building wheels for collected packages: BaiduPCS-Py, cryptography
Building wheel for BaiduPCS-Py (PEP 517) ... error
Complete output from command C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\python.exe c:\users\thinkpad\appdata\local\programs\python\python36\lib\site-packages\pip-19.0.3-py3.6.egg\pip_vendor\pep517_in_process.py build_wheel C:\Users\thinkpad\AppData\Local\Temp\tmp0w7xwo27:
A setup.py file already exists. Using it.
Compiling baidupcs_py/common/simple_cipher.pyx because it changed.
[1/1] Cythonizing baidupcs_py/common/simple_cipher.pyx
running build
running build_py
creating C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build
creating C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6
creating C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py
copying baidupcs_py\utils.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py
copying baidupcs_py_init_.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py
creating C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\app
copying baidupcs_py\app\account.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\app
copying baidupcs_py\app\app.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\app
copying baidupcs_py\app_init_.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\app
creating C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\baidupcs
copying baidupcs_py\baidupcs\api.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\baidupcs
copying baidupcs_py\baidupcs\errors.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\baidupcs
copying baidupcs_py\baidupcs\inner.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\baidupcs
copying baidupcs_py\baidupcs\pcs.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\baidupcs
copying baidupcs_py\baidupcs\phone.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\baidupcs
copying baidupcs_py\baidupcs_init_.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\baidupcs
creating C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\cat.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\cloud.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\display.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\download.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\env.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\errors.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\file_operators.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\list_files.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\log.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\play.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\search.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\server.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\share.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\sifter.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\sync.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\upload.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\user.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands_init_.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
package init file 'baidupcs_py\common_init_.py' not found (or not a regular file)
creating C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\cache.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\concurrent.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\constant.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\crypto.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\downloader.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\event.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\io.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\keyboard.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\log.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\net.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\number.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\path.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\progress_bar.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\commands\index.html -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\common\simple_cipher.c -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\simple_cipher.pyx -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
running build_ext
building 'baidupcs_py.common.simple_cipher' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
Traceback (most recent call last):
File "c:\users\thinkpad\appdata\local\programs\python\python36\lib\site-packages\pip-19.0.3-py3.6.egg\pip_vendor\pep517_in_process.py", line 207, in
main()
File "c:\users\thinkpad\appdata\local\programs\python\python36\lib\site-packages\pip-19.0.3-py3.6.egg\pip_vendor\pep517_in_process.py", line 197, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "c:\users\thinkpad\appdata\local\programs\python\python36\lib\site-packages\pip-19.0.3-py3.6.egg\pip_vendor\pep517_in_process.py", line 141, in build_wheel
metadata_directory)
File "C:\Users\thinkpad\AppData\Local\Temp\pip-build-env-58nfzn_m\overlay\Lib\site-packages\poetry\core\masonry\api.py", line 68, in build_wheel
return unicode(WheelBuilder.make_in(poetry, Path(wheel_directory)))
File "C:\Users\thinkpad\AppData\Local\Temp\pip-build-env-58nfzn_m\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 72, in make_in
wb.build()
File "C:\Users\thinkpad\AppData\Local\Temp\pip-build-env-58nfzn_m\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 103, in build
self._build(zip_file)
File "C:\Users\thinkpad\AppData\Local\Temp\pip-build-env-58nfzn_m\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 135, in _build
self._run_build_command(setup)
File "C:\Users\thinkpad\AppData\Local\Temp\pip-build-env-58nfzn_m\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 169, in _run_build_command
str(self._path / "build"),
File "C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:/Users/thinkpad/AppData/Local/Programs/Python/Python36/python.exe', 'C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\setup.py', 'build', '-b', 'C:\Users\thinkpad\AppData\Local\Temp\pip-install-xjunv6_p\BaiduPCS-Py\build']' returned non-zero exit status 1.


Failed building wheel for BaiduPCS-Py

下载文件块失败

Info: [1] 迁移文件: /来自:STF-AL00/%U[{4Z[R6F13WL1UKYW_[~9.png
下载中: 0%| | 0.00/104k [00:00<?, ?it/s]
Err: 下载文件块失败:Can't instantiate abstract class RangeRequestIO with abstract methods enter, exit, closed, fileno, flush, isatty, mode, name, readable, readline, readlines, truncate, write, writelines
Err: 下载文件块失败:Can't instantiate abstract class RangeRequestIO with abstract methods enter, exit, closed, fileno, flush, isatty, mode, name, readable, readline, readlines, truncate, write, writelines
Err: 下载文件块失败:Can't instantiate abstract class RangeRequestIO with abstract methods enter, exit, closed, fileno, flush, isatty, mode, name, readable, readline, readlines, truncate, write, writelines

v2021.7.31.3 出现403

非常感谢作者的付出,v2021.7.31.3 出现了403错误,麻烦看下。
Info: [43] 迁移文件: /1音乐/DJ 转自:baolaMM网盘 Mac爱好者Q群:8605326/DJ散片/收费DJ/北京工体2014三月HIPHOP mashup HOUSE综合.rar
下载中: 0%| | 0.00/484M [00:00<?, ?it/s]Err: 下载文件块失败:HTTP Error 403: Forbidden
Err: 下载文件块失败:HTTP Error 403: Forbidden
Err: 下载文件块失败:HTTP Error 403: Forbidden
Err: 下载文件块失败:HTTP Error 403: Forbidden
Err: 下载文件块失败:HTTP Error 403: Forbidden
Err: 下载文件块失败:HTTP Error 403: Forbidden
下载中: 0%| | 0.00/484M [00:00<?, ?it/s]
Err: [错误] 下载失败!

出现了很多这个错误,这个在网页端是可以正常下载的。

登陆阿里云盘失败

现在的问题是登陆 aliyun后拿到的请求头中的授权token 无法在 程序中正常登陆 但是 百度云是可以的

”list index out of range“会报这个错误。

我是用的阿里云的ecs部署的,然后下载没有问题。上传的时候,前几个文件会走内网上传(秒传),但是偶尔会出现走外网上传的可能,然后速度比较慢(基本就会上传失败),会报403 client error。然后后面所有的文件都会报”list index out of range“这个错误,都无法上传。

报错No recent user, please adding or selecting one

双网盘都登陆成功
Info: [119] 迁移文件: /matlab/动画演示/ch18/动手练一练——比较拉格朗日插值和分段线性插值2.mp4
No recent user, please adding or selecting one
Err: [错误] 下载失败!

BaiduPCS-Py安装失败。

pip3 install BaiduPCS-Py
Collecting BaiduPCS-Py
Using cached BaiduPCS-Py-0.6.29.tar.gz (110 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting Pillow<9.0.0,>=8.1.2
Using cached Pillow-8.4.0-cp39-cp39-win_amd64.whl (3.2 MB)
Collecting uvicorn<0.14.0,>=0.13.4
Using cached uvicorn-0.13.4-py3-none-any.whl (46 kB)
Collecting rich<10.0.0,>=9.12.4
Using cached rich-9.13.0-py3-none-any.whl (197 kB)
Collecting chardet<5.0.0,>=4.0.0
Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Collecting filelock<4.0.0,>=3.0.12
Using cached filelock-3.3.2-py3-none-any.whl (9.7 kB)
Collecting typing-extensions<4.0.0,>=3.7.4
Using cached typing_extensions-3.10.0.2-py3-none-any.whl (26 kB)
Collecting requests-toolbelt<0.10.0,>=0.9.1
Using cached requests_toolbelt-0.9.1-py2.py3-none-any.whl (54 kB)
Collecting cryptography<4.0.0,>=3.4.6
Using cached cryptography-3.4.8-cp36-abi3-win_amd64.whl (1.6 MB)
Collecting requests<3.0.0,>=2.25.1
Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting Cython<0.30.0,>=0.29.22
Using cached Cython-0.29.24-cp39-cp39-win_amd64.whl (1.7 MB)
Collecting Jinja2<3.0.0,>=2.11.3
Using cached Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
Collecting fastapi<0.64.0,>=0.63.0
Using cached fastapi-0.63.0-py3-none-any.whl (50 kB)
Collecting passlib<2.0.0,>=1.7.4
Using cached passlib-1.7.4-py2.py3-none-any.whl (525 kB)
Collecting click<8.0.0,>=7.1.2
Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting aget<0.2.0,>=0.1.17
Using cached aget-0.1.17.tar.gz (7.7 kB)
Preparing metadata (setup.py) ... done
Collecting mugen
Using cached mugen-0.6.0-py3-none-any.whl
Collecting cffi>=1.12
Using cached cffi-1.15.0-cp39-cp39-win_amd64.whl (180 kB)
Collecting pydantic<2.0.0,>=1.0.0
Using cached pydantic-1.8.2-cp39-cp39-win_amd64.whl (1.9 MB)
Collecting starlette==0.13.6
Using cached starlette-0.13.6-py3-none-any.whl (59 kB)
Collecting MarkupSafe>=0.23
Using cached MarkupSafe-2.0.1-cp39-cp39-win_amd64.whl (14 kB)
Collecting charset-normalizer~=2.0.0
Using cached charset_normalizer-2.0.7-py3-none-any.whl (38 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting idna<4,>=2.5
Using cached idna-3.3-py3-none-any.whl (61 kB)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in d:\users\lu\appdata\local\programs\python\python39\lib\site-packages (from requests<3.0.0,>=2.25.1->BaiduPCS-Py) (1.25.11)
Collecting pygments<3.0.0,>=2.6.0
Using cached Pygments-2.10.0-py3-none-any.whl (1.0 MB)
Collecting commonmark<0.10.0,>=0.9.0
Using cached commonmark-0.9.1-py2.py3-none-any.whl (51 kB)
Collecting colorama<0.5.0,>=0.4.0
Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting h11>=0.8
Using cached h11-0.12.0-py3-none-any.whl (54 kB)
Collecting pycparser
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting httptools<0.3.0,>=0.2.0
Using cached httptools-0.2.0-cp39-cp39-win_amd64.whl (141 kB)
Using legacy 'setup.py install' for aget, since package 'wheel' is not installed.
Building wheels for collected packages: BaiduPCS-Py
Building wheel for BaiduPCS-Py (pyproject.toml) ... error
ERROR: Command errored out with exit status 1:
command: 'D:\Users\lu\AppData\Local\Programs\Python\Python39\python.exe' 'D:\Users\lu\AppData\Local\Programs\Python\Python39\lib\site-packages\pip_vendor\pep517\in_process_in_process.py' build_wheel 'C:\Users\lu\AppData\Local\Temp\tmpc0dbkj3d'
cwd: C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be
Complete output (90 lines):
信息: 用提供的模式无法找到文件。
A setup.py file already exists. Using it.
Compiling baidupcs_py/common/simple_cipher.pyx because it changed.
[1/1] Cythonizing baidupcs_py/common/simple_cipher.pyx
running build
running build_py
creating C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build
creating C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9
creating C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py
copying baidupcs_py\utils.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py
copying baidupcs_py_init_.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py
creating C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\app
copying baidupcs_py\app\account.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\app
copying baidupcs_py\app\app.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\app
copying baidupcs_py\app_init_.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\app
creating C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\baidupcs
copying baidupcs_py\baidupcs\api.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\baidupcs
copying baidupcs_py\baidupcs\errors.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\baidupcs
copying baidupcs_py\baidupcs\inner.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\baidupcs
copying baidupcs_py\baidupcs\pcs.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\baidupcs
copying baidupcs_py\baidupcs\phone.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\baidupcs
copying baidupcs_py\baidupcs_init_.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\baidupcs
creating C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\commands
copying baidupcs_py\commands\cat.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\commands
copying baidupcs_py\commands\cloud.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\commands
copying baidupcs_py\commands\crypto.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\commands
copying baidupcs_py\commands\display.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\commands
copying baidupcs_py\commands\download.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\commands
copying baidupcs_py\commands\env.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\commands
copying baidupcs_py\commands\errors.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\commands
copying baidupcs_py\commands\file_operators.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\commands
copying baidupcs_py\commands\list_files.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\commands
copying baidupcs_py\commands\log.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\commands
copying baidupcs_py\commands\play.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\commands
copying baidupcs_py\commands\rapid_upload.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\commands
copying baidupcs_py\commands\search.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\commands
copying baidupcs_py\commands\server.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\commands
copying baidupcs_py\commands\share.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\commands
copying baidupcs_py\commands\sifter.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\commands
copying baidupcs_py\commands\sync.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\commands
copying baidupcs_py\commands\upload.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\commands
copying baidupcs_py\commands\user.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\commands
copying baidupcs_py\commands_init_.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\commands
package init file 'baidupcs_py\common_init_.py' not found (or not a regular file)
creating C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\common
copying baidupcs_py\common\cache.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\common
copying baidupcs_py\common\concurrent.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\common
copying baidupcs_py\common\constant.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\common
copying baidupcs_py\common\crypto.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\common
copying baidupcs_py\common\date.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\common
copying baidupcs_py\common\downloader.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\common
copying baidupcs_py\common\event.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\common
copying baidupcs_py\common\file_type.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\common
copying baidupcs_py\common\io.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\common
copying baidupcs_py\common\keyboard.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\common
copying baidupcs_py\common\localstorage.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\common
copying baidupcs_py\common\log.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\common
copying baidupcs_py\common\net.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\common
copying baidupcs_py\common\number.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\common
copying baidupcs_py\common\path.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\common
copying baidupcs_py\common\platform.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\common
copying baidupcs_py\common\progress_bar.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\common
copying baidupcs_py\common\random.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\common
copying baidupcs_py\common\url.py -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\common
copying baidupcs_py\commands\index.html -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\commands
copying baidupcs_py\common\simple_cipher.c -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\common
copying baidupcs_py\common\simple_cipher.pyx -> C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build\lib.win-amd64-3.9\baidupcs_py\common
running build_ext
building 'baidupcs_py.common.simple_cipher' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
Traceback (most recent call last):
File "D:\Users\lu\AppData\Local\Programs\Python\Python39\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 363, in
main()
File "D:\Users\lu\AppData\Local\Programs\Python\Python39\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "D:\Users\lu\AppData\Local\Programs\Python\Python39\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 261, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "C:\Users\lu\AppData\Local\Temp\pip-build-env-1460i18x\overlay\Lib\site-packages\poetry\core\masonry\api.py", line 68, in build_wheel
return unicode(WheelBuilder.make_in(poetry, Path(wheel_directory)))
File "C:\Users\lu\AppData\Local\Temp\pip-build-env-1460i18x\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 72, in make_in
wb.build()
File "C:\Users\lu\AppData\Local\Temp\pip-build-env-1460i18x\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 103, in build
self._build(zip_file)
File "C:\Users\lu\AppData\Local\Temp\pip-build-env-1460i18x\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 135, in _build
self._run_build_command(setup)
File "C:\Users\lu\AppData\Local\Temp\pip-build-env-1460i18x\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 163, in _run_build_command
subprocess.check_call(
File "D:\Users\lu\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['D:/Users/lu/AppData/Local/Programs/Python/Python39/python.exe', 'C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\setup.py', 'build', '-b', 'C:\Users\lu\AppData\Local\Temp\pip-install-5y0ybsz6\baidupcs-py_04e0b20652ed442cb4f4de51f42f19be\build']' returned non-zero exit status 1.

ERROR: Failed building wheel for BaiduPCS-Py
Failed to build BaiduPCS-Py
ERROR: Could not build wheels for BaiduPCS-Py, which is required to install pyproject.toml-based projects

缺少直接启动运行的Python脚本

当前只能是用exe文件启动吗?太不友好了,Linux、Mac环境下就没法用了,希望作者尽快出个Python启动脚本,方便灵活,各种环境都可以用

重复下载的问题

中途出现了错误,重新执行脚本,之前的还会重新下载,有2T的文件需要迁移,文件数非常多。

百度云登录失败

百度云填入cookie之后一直卡住,回车没用,登录不成功,我看了源码,应该是输入的cookie没有错的,麻烦帮忙看看是不是使用错误。
image

使用pip安装失败,提示"ERROR: Could not build wheels for BaiduPCS-Py, httptools, which is required to install pyproject.toml-based projects""

python 3.10
系统:win11 64位
已经安装了C++生成工具,勾选情况如下图:
image

运行pip install BaiduPCS-Py后,提示错误:

Collecting BaiduPCS-Py
  Using cached baidupcs_py-0.7.6.tar.gz (112 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting aget>=0.1 (from BaiduPCS-Py)
  Using cached aget-0.1.17-py3-none-any.whl
Collecting chardet>=5.0 (from BaiduPCS-Py)
  Obtaining dependency information for chardet>=5.0 from https://files.pythonhosted.org/packages/38/6f/f5fbc992a329ee4e0f288c1fe0e2ad9485ed064cac731ed2fe47dcc38cbf/chardet-5.2.0-py3-none-any.whl.metadata
  Using cached chardet-5.2.0-py3-none-any.whl.metadata (3.4 kB)
Collecting click>=8.1 (from BaiduPCS-Py)
  Obtaining dependency information for click>=8.1 from https://files.pythonhosted.org/packages/1a/70/e63223f8116931d365993d4a6b7ef653a4d920b41d03de7c59499962821f/click-8.1.6-py3-none-any.whl.metadata
  Using cached click-8.1.6-py3-none-any.whl.metadata (3.0 kB)
Collecting cryptography>=38.0 (from BaiduPCS-Py)
  Obtaining dependency information for cryptography>=38.0 from https://files.pythonhosted.org/packages/30/56/5f4eee57ccd577c261b516bfcbe17492838e2bc4e2e92ea93bbb57666fbd/cryptography-41.0.3-cp37-abi3-win_amd64.whl.metadata
  Using cached cryptography-41.0.3-cp37-abi3-win_amd64.whl.metadata (5.3 kB)
Requirement already satisfied: cython>=0.29 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from BaiduPCS-Py) (0.29.28)
Collecting fastapi>=0.87 (from BaiduPCS-Py)
  Obtaining dependency information for fastapi>=0.87 from https://files.pythonhosted.org/packages/af/e0/ad7d3e6a7f550a5ddae10d475f54d982ae077a563ee508893aeb6fb380ee/fastapi-0.101.0-py3-none-any.whl.metadata
  Using cached fastapi-0.101.0-py3-none-any.whl.metadata (23 kB)
Collecting jinja2>=3.1 (from BaiduPCS-Py)
  Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Requirement already satisfied: passlib>=1.7 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from BaiduPCS-Py) (1.7.4)
Collecting pillow>=9.3 (from BaiduPCS-Py)
  Obtaining dependency information for pillow>=9.3 from https://files.pythonhosted.org/packages/d0/4f/faebe1180e5e6ad6330c539dda7f6081182157393ba6816a438f759a0e59/Pillow-10.0.0-cp310-cp310-win_amd64.whl.metadata
  Using cached Pillow-10.0.0-cp310-cp310-win_amd64.whl.metadata (9.6 kB)
Collecting requests-toolbelt>=0.10 (from BaiduPCS-Py)
  Using cached requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB)
Requirement already satisfied: requests>=2.28 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from BaiduPCS-Py) (2.31.0)
Collecting rich>=12.6 (from BaiduPCS-Py)
  Obtaining dependency information for rich>=12.6 from https://files.pythonhosted.org/packages/8d/5f/21a93b2ec205f4b79853ff6e838e3c99064d5dbe85ec6b05967506f14af0/rich-13.5.2-py3-none-any.whl.metadata
  Using cached rich-13.5.2-py3-none-any.whl.metadata (18 kB)
Collecting typing-extensions>=4.4 (from BaiduPCS-Py)
  Obtaining dependency information for typing-extensions>=4.4 from https://files.pythonhosted.org/packages/ec/6b/63cc3df74987c36fe26157ee12e09e8f9db4de771e0f3404263117e75b95/typing_extensions-4.7.1-py3-none-any.whl.metadata
  Using cached typing_extensions-4.7.1-py3-none-any.whl.metadata (3.1 kB)
Collecting uvicorn>=0.19 (from BaiduPCS-Py)
  Obtaining dependency information for uvicorn>=0.19 from https://files.pythonhosted.org/packages/79/96/b0882a1c3f7ef3dd86879e041212ae5b62b4bd352320889231cc735a8e8f/uvicorn-0.23.2-py3-none-any.whl.metadata
  Using cached uvicorn-0.23.2-py3-none-any.whl.metadata (6.2 kB)
Collecting mugen (from aget>=0.1->BaiduPCS-Py)
  Using cached mugen-0.6.0-py3-none-any.whl
Requirement already satisfied: colorama in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from click>=8.1->BaiduPCS-Py) (0.4.4)
Collecting cffi>=1.12 (from cryptography>=38.0->BaiduPCS-Py)
  Using cached cffi-1.15.1-cp310-cp310-win_amd64.whl (179 kB)
Requirement already satisfied: pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0,>=1.7.4 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from fastapi>=0.87->BaiduPCS-Py) (1.9.0)
Collecting starlette<0.28.0,>=0.27.0 (from fastapi>=0.87->BaiduPCS-Py)
  Obtaining dependency information for starlette<0.28.0,>=0.27.0 from https://files.pythonhosted.org/packages/58/f8/e2cca22387965584a409795913b774235752be4176d276714e15e1a58884/starlette-0.27.0-py3-none-any.whl.metadata
  Using cached starlette-0.27.0-py3-none-any.whl.metadata (5.8 kB)
Requirement already satisfied: MarkupSafe>=2.0 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from jinja2>=3.1->BaiduPCS-Py) (2.1.0)
Requirement already satisfied: charset-normalizer<4,>=2 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from requests>=2.28->BaiduPCS-Py) (2.0.12)
Requirement already satisfied: idna<4,>=2.5 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from requests>=2.28->BaiduPCS-Py) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from requests>=2.28->BaiduPCS-Py) (1.26.8)    
Requirement already satisfied: certifi>=2017.4.17 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from requests>=2.28->BaiduPCS-Py) (2023.7.22) 
Requirement already satisfied: markdown-it-py>=2.2.0 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from rich>=12.6->BaiduPCS-Py) (3.0.0)      
Collecting pygments<3.0.0,>=2.13.0 (from rich>=12.6->BaiduPCS-Py)
  Obtaining dependency information for pygments<3.0.0,>=2.13.0 from https://files.pythonhosted.org/packages/43/88/29adf0b44ba6ac85045e63734ae0997d3c58d8b1a91c914d240828d0d73d/Pygments-2.16.1-py3-none-any.whl.metadata
  Using cached Pygments-2.16.1-py3-none-any.whl.metadata (2.5 kB)
Requirement already satisfied: h11>=0.8 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from uvicorn>=0.19->BaiduPCS-Py) (0.13.0)
Collecting pycparser (from cffi>=1.12->cryptography>=38.0->BaiduPCS-Py)
  Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Requirement already satisfied: mdurl~=0.1 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from markdown-it-py>=2.2.0->rich>=12.6->BaiduPCS-Py) (0.1.2)
Requirement already satisfied: anyio<5,>=3.4.0 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from starlette<0.28.0,>=0.27.0->fastapi>=0.87->BaiduPCS-Py) (3.5.0)
Collecting httptools<0.3.0,>=0.2.0 (from mugen->aget>=0.1->BaiduPCS-Py)
  Using cached httptools-0.2.0.tar.gz (169 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: sniffio>=1.1 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from anyio<5,>=3.4.0->starlette<0.28.0,>=0.27.0->fastapi>=0.87->BaiduPCS-Py) (1.2.0)
Using cached chardet-5.2.0-py3-none-any.whl (199 kB)
Using cached click-8.1.6-py3-none-any.whl (97 kB)
Using cached cryptography-41.0.3-cp37-abi3-win_amd64.whl (2.6 MB)
Using cached fastapi-0.101.0-py3-none-any.whl (65 kB)
Using cached Pillow-10.0.0-cp310-cp310-win_amd64.whl (2.5 MB)
Using cached rich-13.5.2-py3-none-any.whl (239 kB)
Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB)
Using cached uvicorn-0.23.2-py3-none-any.whl (59 kB)
Using cached Pygments-2.16.1-py3-none-any.whl (1.2 MB)
Using cached starlette-0.27.0-py3-none-any.whl (66 kB)
Building wheels for collected packages: BaiduPCS-Py, httptools
  Building wheel for BaiduPCS-Py (pyproject.toml) ... done
  Created wheel for BaiduPCS-Py: filename=baidupcs_py-0.7.6-cp310-cp310-win_amd64.whl size=181424 sha256=fd5f3f16da7fa1b3b9c206ee386ca08398554f2928e9d5e3d661698724fabf9a
  Stored in directory: c:\users\gotop\appdata\local\pip\cache\wheels\e1\20\99\54f32d7c9b51c42491ba7364c08897ec4dd053076f2ae6be56
  Building wheel for httptools (setup.py) ... done
  Created wheel for httptools: filename=httptools-0.2.0-cp310-cp310-win_amd64.whl size=141277 sha256=831952d214b5ee484effad4e162d577c6f6e67567c0fc98187ee8e44452fa115
  Stored in directory: c:\users\gotop\appdata\local\pip\cache\wheels\20\fa\43\e29cceddcffe98ab75272231b9a0d2137a0d04bae5b62b1597
Successfully built BaiduPCS-Py httptools
Installing collected packages: httptools, typing-extensions, pygments, pycparser, pillow, mugen, jinja2, click, chardet, uvicorn, starlette, rich, requests-toolbelt, cffi, aget, fastapi, cryptography, BaiduPCS-Py
  Attempting uninstall: typing-extensions
    Found existing installation: typing_extensions 4.1.1
    Uninstalling typing_extensions-4.1.1:
      Successfully uninstalled typing_extensions-4.1.1
  Attempting uninstall: pygments
    Found existing installation: Pygments 2.11.2
    Uninstalling Pygments-2.11.2:
      Successfully uninstalled Pygments-2.11.2
  Attempting uninstall: pillow
    Found existing installation: Pillow 9.0.1
    Uninstalling Pillow-9.0.1:
      Successfully uninstalled Pillow-9.0.1
  Attempting uninstall: jinja2
    Found existing installation: Jinja2 3.0.3
    Uninstalling Jinja2-3.0.3:
      Successfully uninstalled Jinja2-3.0.3
  Attempting uninstall: click
    Found existing installation: click 8.0.4
    Uninstalling click-8.0.4:
      Successfully uninstalled click-8.0.4
  Attempting uninstall: uvicorn
    Found existing installation: uvicorn 0.16.0
    Uninstalling uvicorn-0.16.0:
      Successfully uninstalled uvicorn-0.16.0
  Attempting uninstall: starlette
    Found existing installation: starlette 0.17.1
    Uninstalling starlette-0.17.1:
      Successfully uninstalled starlette-0.17.1
  Attempting uninstall: rich
    Found existing installation: rich 11.2.0
    Uninstalling rich-11.2.0:
      Successfully uninstalled rich-11.2.0
  Attempting uninstall: requests-toolbelt
    Found existing installation: requests-toolbelt 0.9.1
    Uninstalling requests-toolbelt-0.9.1:
      Successfully uninstalled requests-toolbelt-0.9.1
  Attempting uninstall: fastapi
    Found existing installation: fastapi 0.71.0
    Uninstalling fastapi-0.71.0:
      Successfully uninstalled fastapi-0.71.0
Successfully installed BaiduPCS-Py-0.7.6 aget-0.1.17 cffi-1.15.1 chardet-5.2.0 click-8.1.6 cryptography-41.0.3 fastapi-0.101.0 httptools-0.2.0 jinja2-3.1.2 mugen-0.6.0 pillow-10.0.0 pycparser-2.21 pygments-2.16.1 requests-toolbelt-1.0.0 rich-13.5.2 starlette-0.27.0 typing-extensions-4.7.1 uvicorn-0.23.2        
(BaiduMatchVideo) PS G:\Python\Project\BaiduMatchVideo> pip install -r requirements.txt
Requirement already satisfied: aget==0.1.17 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 1)) (0.1.17)
Requirement already satisfied: anyio==3.5.0 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 2)) (3.5.0)
Requirement already satisfied: asgiref==3.5.0 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 3)) (3.5.0)        
Collecting baidupcs-py==0.6.32 (from -r requirements.txt (line 4))
  Using cached BaiduPCS-Py-0.6.32.tar.gz (111 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: biliass==1.3.4 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 5)) (1.3.4)        
Requirement already satisfied: bilili==1.4.10 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 6)) (1.4.10)
Requirement already satisfied: Brotli==1.0.9 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 7)) (1.0.9)
Collecting certifi==2021.10.8 (from -r requirements.txt (line 8))
  Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting cffi==1.15.0 (from -r requirements.txt (line 9))
  Using cached cffi-1.15.0-cp310-cp310-win_amd64.whl (180 kB)
Collecting chardet==4.0.0 (from -r requirements.txt (line 10))
  Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Requirement already satisfied: charset-normalizer==2.0.12 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 11)) (2.0.12)
Collecting click==8.0.4 (from -r requirements.txt (line 12))
  Using cached click-8.0.4-py3-none-any.whl (97 kB)
Requirement already satisfied: colorama==0.4.4 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 13)) (0.4.4)
Requirement already satisfied: commonmark==0.9.1 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 14)) (0.9.1)    
Collecting cryptography==36.0.1 (from -r requirements.txt (line 15))
  Using cached cryptography-36.0.1-cp36-abi3-win_amd64.whl (2.2 MB)
Requirement already satisfied: Cython==0.29.28 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 16)) (0.29.28)
Requirement already satisfied: datefinder==0.7.1 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 17)) (0.7.1)    
Collecting fastapi==0.71.0 (from -r requirements.txt (line 18))
  Using cached fastapi-0.71.0-py3-none-any.whl (51 kB)
Requirement already satisfied: filelock==3.6.0 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 19)) (3.6.0)
Requirement already satisfied: h11==0.13.0 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 20)) (0.13.0)
Requirement already satisfied: httptools==0.2.0 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 21)) (0.2.0)     
Collecting idna==3.3 (from -r requirements.txt (line 22))
  Using cached idna-3.3-py3-none-any.whl (61 kB)
Collecting Jinja2==3.0.3 (from -r requirements.txt (line 23))
  Using cached Jinja2-3.0.3-py3-none-any.whl (133 kB)
Requirement already satisfied: MarkupSafe==2.1.0 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 24)) (2.1.0)    
Requirement already satisfied: mugen==0.6.0 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 25)) (0.6.0)
Requirement already satisfied: mutagen==1.45.1 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 26)) (1.45.1)
Requirement already satisfied: passlib==1.7.4 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 27)) (1.7.4)       
Collecting Pillow==9.0.1 (from -r requirements.txt (line 28))
  Using cached Pillow-9.0.1-cp310-cp310-win_amd64.whl (3.2 MB)
Requirement already satisfied: protobuf==3.19.4 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 29)) (3.19.4)
Requirement already satisfied: pycparser==2.21 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 30)) (2.21)       
Requirement already satisfied: pycryptodomex==3.14.1 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 31)) (3.14.1)
Requirement already satisfied: pydantic==1.9.0 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 32)) (1.9.0)      
Collecting Pygments==2.11.2 (from -r requirements.txt (line 33))
  Using cached Pygments-2.11.2-py3-none-any.whl (1.1 MB)
Requirement already satisfied: python-dateutil==2.8.2 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 34)) (2.8.2)
Requirement already satisfied: pytz==2021.3 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 35)) (2021.3)        
Requirement already satisfied: regex==2022.3.2 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 36)) (2022.3.2)   
Collecting requests==2.27.1 (from -r requirements.txt (line 37))
  Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)
Collecting requests-toolbelt==0.9.1 (from -r requirements.txt (line 38))
  Using cached requests_toolbelt-0.9.1-py2.py3-none-any.whl (54 kB)
Collecting rich==11.2.0 (from -r requirements.txt (line 39))
  Using cached rich-11.2.0-py3-none-any.whl (217 kB)
Requirement already satisfied: six==1.16.0 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 40)) (1.16.0)
Requirement already satisfied: sniffio==1.2.0 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 41)) (1.2.0)       
Collecting starlette==0.17.1 (from -r requirements.txt (line 42))
  Using cached starlette-0.17.1-py3-none-any.whl (58 kB)
Collecting typing_extensions==4.1.1 (from -r requirements.txt (line 43))
  Using cached typing_extensions-4.1.1-py3-none-any.whl (26 kB)
Requirement already satisfied: urllib3==1.26.8 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 44)) (1.26.8)
Collecting uvicorn==0.16.0 (from -r requirements.txt (line 45))
  Using cached uvicorn-0.16.0-py3-none-any.whl (54 kB)
Requirement already satisfied: websockets==10.2 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 46)) (10.2)
Collecting youtube-dl==2021.12.17 (from -r requirements.txt (line 47))
  Using cached youtube_dl-2021.12.17-py2.py3-none-any.whl (1.9 MB)
Requirement already satisfied: yt-dlp==2022.3.8.2 in g:\python\virtualenvs\baidumatchvideo\lib\site-packages (from -r requirements.txt (line 48)) (2022.3.8.2)
Building wheels for collected packages: baidupcs-py
  Building wheel for baidupcs-py (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for baidupcs-py (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [28 lines of output]
      Compiling baidupcs_py/common/simple_cipher.pyx because it changed.
      [1/1] Cythonizing baidupcs_py/common/simple_cipher.pyx
      usage: build.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
         or: build.py --help [cmd1 cmd2 ...]
         or: build.py --help-commands
         or: build.py cmd --help

      error: no commands supplied
      Traceback (most recent call last):
        File "G:\Python\VirtualEnvs\BaiduMatchVideo\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>        
          main()
        File "G:\Python\VirtualEnvs\BaiduMatchVideo\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "G:\Python\VirtualEnvs\BaiduMatchVideo\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 251, in build_wheel     
          return _build_backend().build_wheel(wheel_directory, config_settings,
        File "C:\Users\GoTop\AppData\Local\Temp\pip-build-env-f3p7lemu\overlay\Lib\site-packages\poetry\core\masonry\api.py", line 57, in build_wheel       
          return WheelBuilder.make_in(
        File "C:\Users\GoTop\AppData\Local\Temp\pip-build-env-f3p7lemu\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 88, in make_in
          wb.build(target_dir=directory)
        File "C:\Users\GoTop\AppData\Local\Temp\pip-build-env-f3p7lemu\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 123, in build 
          self._build(zip_file)
        File "C:\Users\GoTop\AppData\Local\Temp\pip-build-env-f3p7lemu\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 172, in _build
          self._run_build_script(self._package.build_script)
        File "C:\Users\GoTop\AppData\Local\Temp\pip-build-env-f3p7lemu\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 232, in _run_build_script
          subprocess.check_call([self.executable.as_posix(), build_script])
        File "I:\Program Files\Python\Python310\lib\subprocess.py", line 369, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['G:/Python/VirtualEnvs/BaiduMatchVideo/Scripts/python.exe', 'build.py']' returned non-zero exit status 1.    
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for baidupcs-py
Failed to build baidupcs-py
ERROR: Could not build wheels for baidupcs-py, which is required to install pyproject.toml-based projects

Failed cleaning build dir for cryptography;Could not build wheels for BaiduPCS-Py, cryptography which use PEP 517 and cannot be installed directly

PS C:\WINDOWS\system32> pip3 install b2a --upgrade
Collecting b2a
Using cached https://files.pythonhosted.org/packages/f2/69/8f39e0ad36081c2cbf8bd66f58c689eb551a13d70fbc77d45e00cdcdda35/b2a-2021.8.17.0-py3-none-any.whl
Requirement already satisfied, skipping upgrade: requests in c:\users\thinkpad\appdata\local\programs\python\python36\lib\site-packages (from b2a) (2.18.4)
Collecting tqdm (from b2a)
Using cached https://files.pythonhosted.org/packages/63/f3/b7a1b8e40fd1bd049a34566eb353527bb9b8e9b98f8b6cf803bb64d8ce95/tqdm-4.62.3-py2.py3-none-any.whl
Collecting Cython (from b2a)
Downloading https://files.pythonhosted.org/packages/d3/f9/ea21cea898210d90c58bd25d0b4b352cb677f72c1f3293773cff9bceb409/Cython-0.29.26-cp36-cp36m-win_amd64.whl (1.6MB)
100% |████████████████████████████████| 1.6MB 723kB/s
Collecting prettytable (from b2a)
Downloading https://files.pythonhosted.org/packages/9e/6d/40a24eaa03ea4418129708fd3f0f17eda73d568f16d4d4fd412566168b4c/prettytable-2.5.0-py3-none-any.whl
Collecting BaiduPCS-Py (from b2a)
Using cached https://files.pythonhosted.org/packages/c8/3a/efa126e54b12f096e377a009e082aecb934ec9c9f9009e2dd829f87f5ac3/BaiduPCS-Py-0.5.7.tar.gz
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting aigpy (from b2a)
Using cached https://files.pythonhosted.org/packages/38/a2/6668c6bceb8b48d30adee871872b25aef9256336681f1d92a4e293ff5b00/aigpy-2021.12.10.1-py3-none-any.whl
Requirement already satisfied, skipping upgrade: idna<2.7,>=2.5 in c:\users\thinkpad\appdata\local\programs\python\python36\lib\site-packages (from requests->b2a) (2.6)
Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in c:\users\thinkpad\appdata\local\programs\python\python36\lib\site-packages (from requests->b2a) (2018.4.16)
Requirement already satisfied, skipping upgrade: chardet<3.1.0,>=3.0.2 in c:\users\thinkpad\appdata\local\programs\python\python36\lib\site-packages (from requests->b2a) (3.0.4)
Requirement already satisfied, skipping upgrade: urllib3<1.23,>=1.21.1 in c:\users\thinkpad\appdata\local\programs\python\python36\lib\site-packages (from requests->b2a) (1.22)
Requirement already satisfied, skipping upgrade: colorama; platform_system == "Windows" in c:\users\thinkpad\appdata\roaming\python\python36\site-packages (from tqdm->b2a) (0.3.9)
Collecting importlib-metadata; python_version < "3.8" (from prettytable->b2a)
Downloading https://files.pythonhosted.org/packages/a0/a1/b153a0a4caf7a7e3f15c2cd56c7702e2cf3d89b1b359d1f1c5e59d68f4ce/importlib_metadata-4.8.3-py3-none-any.whl
Collecting wcwidth (from prettytable->b2a)
Downloading https://files.pythonhosted.org/packages/59/7c/e39aca596badaf1b78e8f547c807b04dae603a433d3e7a7e04d67f2ef3e5/wcwidth-0.2.5-py2.py3-none-any.whl
Collecting Pillow<9.0.0,>=8.1.0 (from BaiduPCS-Py->b2a)
Downloading https://files.pythonhosted.org/packages/8f/10/c8dc9fff37b69b5962b7783ab4835611e83dada453cd9913d82ca2a1321b/Pillow-8.4.0-cp36-cp36m-win_amd64.whl (3.2MB)
100% |████████████████████████████████| 3.2MB 557kB/s
Collecting fastapi<0.64.0,>=0.63.0 (from BaiduPCS-Py->b2a)
Downloading https://files.pythonhosted.org/packages/9f/33/1b643f650688ad368983bbaf3b0658438038ea84d775dd37393d826c3833/fastapi-0.63.0-py3-none-any.whl (50kB)
100% |████████████████████████████████| 51kB 140kB/s
Collecting click<8.0.0,>=7.1.2 (from BaiduPCS-Py->b2a)
Downloading https://files.pythonhosted.org/packages/d2/3d/fa76db83bf75c4f8d338c2fd15c8d33fdd7ad23a9b5e57eb6c5de26b430e/click-7.1.2-py2.py3-none-any.whl (82kB)
100% |████████████████████████████████| 92kB 201kB/s
Collecting filelock<4.0.0,>=3.0.12 (from BaiduPCS-Py->b2a)
Downloading https://files.pythonhosted.org/packages/e8/3b/b59c7bcacc4cccafcd6e927a9e191268657e79a0a75530132cbf03b22c47/filelock-3.4.0-py3-none-any.whl
Requirement already satisfied, skipping upgrade: requests-toolbelt<0.10.0,>=0.9.1 in c:\users\thinkpad\appdata\local\programs\python\python36\lib\site-packages (from BaiduPCS-Py->b2a) (0.9.1)
Collecting cryptography<4.0.0,>=3.3.1 (from BaiduPCS-Py->b2a)
Downloading https://files.pythonhosted.org/packages/cc/98/8a258ab4787e6f835d350639792527d2eb7946ff9fc0caca9c3f4cf5dcfe/cryptography-3.4.8.tar.gz (546kB)
100% |████████████████████████████████| 552kB 155kB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting typing-extensions<4.0.0,>=3.7.4 (from BaiduPCS-Py->b2a)
Downloading https://files.pythonhosted.org/packages/74/60/18783336cc7fcdd95dae91d73477830aa53f5d3181ae4fe20491d7fc3199/typing_extensions-3.10.0.2-py3-none-any.whl
Collecting aget<0.2.0,>=0.1.17 (from BaiduPCS-Py->b2a)
Downloading https://files.pythonhosted.org/packages/29/60/29231941a30de20a9473026304f4bb470c71207a2724a64f95bc4f39f27d/aget-0.1.17.tar.gz
Collecting Jinja2<3.0.0,>=2.11.2 (from BaiduPCS-Py->b2a)
Downloading https://files.pythonhosted.org/packages/7e/c2/1eece8c95ddbc9b1aeb64f5783a9e07a286de42191b7204d67b7496ddf35/Jinja2-2.11.3-py2.py3-none-any.whl (125kB)
100% |████████████████████████████████| 133kB 145kB/s
Collecting uvicorn[standard]<0.14.0,>=0.13.3 (from BaiduPCS-Py->b2a)
Downloading https://files.pythonhosted.org/packages/c8/de/953f0289508b1b92debdf0a6822d9b88ffb0c6ad471d709cf639a2c8a176/uvicorn-0.13.4-py3-none-any.whl (46kB)
100% |████████████████████████████████| 51kB 121kB/s
Collecting rich<10.0.0,>=9.8.0 (from BaiduPCS-Py->b2a)
Downloading https://files.pythonhosted.org/packages/15/e3/7929cc640f14bffc835bba5efb2f9177007e536429d9fe145765e5f221c4/rich-9.13.0-py3-none-any.whl (197kB)
100% |████████████████████████████████| 204kB 211kB/s
Collecting mutagen (from aigpy->b2a)
Downloading https://files.pythonhosted.org/packages/16/b3/f7aa8edf2ff4495116f95fd442b2a346aa55d1d46313143c8814886dbcdb/mutagen-1.45.1-py3-none-any.whl (218kB)
100% |████████████████████████████████| 225kB 172kB/s
Collecting zipp>=0.5 (from importlib-metadata; python_version < "3.8"->prettytable->b2a)
Using cached https://files.pythonhosted.org/packages/bd/df/d4a4974a3e3957fd1c1fa3082366d7fff6e428ddb55f074bf64876f8e8ad/zipp-3.6.0-py3-none-any.whl
Collecting pydantic<2.0.0,>=1.0.0 (from fastapi<0.64.0,>=0.63.0->BaiduPCS-Py->b2a)
Downloading https://files.pythonhosted.org/packages/38/26/36c97b707300787e8d51b607fc6e94c334f473fcc7519e92e2ec4234b006/pydantic-1.8.2-cp36-cp36m-win_amd64.whl (1.9MB)
100% |████████████████████████████████| 1.9MB 87kB/s
Collecting starlette==0.13.6 (from fastapi<0.64.0,>=0.63.0->BaiduPCS-Py->b2a)
Downloading https://files.pythonhosted.org/packages/c5/a4/c9e228d7d47044ce4c83ba002f28ff479e542455f0499198a3f77c94f564/starlette-0.13.6-py3-none-any.whl (59kB)
100% |████████████████████████████████| 61kB 170kB/s
Collecting cffi>=1.12 (from cryptography<4.0.0,>=3.3.1->BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/0a/fe/f5090f4b636cef41680510fba13eee107420e6e016a8d30c386eb832a964/cffi-1.15.0-cp36-cp36m-win_amd64.whl
Collecting mugen (from aget<0.2.0,>=0.1.17->BaiduPCS-Py->b2a)
Downloading https://files.pythonhosted.org/packages/cb/6b/f2812aaefba8a43c12f9c77d625d35ddce646d2b0a5c6f624060cfc051e3/mugen-0.4.4.tar.gz
Collecting MarkupSafe>=0.23 (from Jinja2<3.0.0,>=2.11.2->BaiduPCS-Py->b2a)
Downloading https://files.pythonhosted.org/packages/73/60/296031f365b3ae96732225203d864fac7b83a185ed1820c1c87b78e154bc/MarkupSafe-2.0.1-cp36-cp36m-win_amd64.whl
Collecting h11>=0.8 (from uvicorn[standard]<0.14.0,>=0.13.3->BaiduPCS-Py->b2a)
Downloading https://files.pythonhosted.org/packages/60/0f/7a0eeea938eaf61074f29fed9717f2010e8d0e0905d36b38d3275a1e4622/h11-0.12.0-py3-none-any.whl (54kB)
100% |████████████████████████████████| 61kB 126kB/s
Collecting websockets==8.*; extra == "standard" (from uvicorn[standard]<0.14.0,>=0.13.3->BaiduPCS-Py->b2a)
Downloading https://files.pythonhosted.org/packages/78/48/9e5bb47b0c26bf02ffcff691a0ef0b1b1ef7824e9b240bad3f494a886897/websockets-8.1-cp36-cp36m-win_amd64.whl (66kB)
100% |████████████████████████████████| 71kB 117kB/s
Collecting PyYAML>=5.1; extra == "standard" (from uvicorn[standard]<0.14.0,>=0.13.3->BaiduPCS-Py->b2a)
Downloading https://files.pythonhosted.org/packages/89/26/0bfd7b756b34c68f8fd158b7bc762b6b1705fc1b3cebf4cdbb53fd9ea75b/PyYAML-6.0-cp36-cp36m-win_amd64.whl (153kB)
100% |████████████████████████████████| 153kB 262kB/s
Collecting watchgod>=0.6; extra == "standard" (from uvicorn[standard]<0.14.0,>=0.13.3->BaiduPCS-Py->b2a)
Downloading https://files.pythonhosted.org/packages/57/35/9a8da3fb6681e6eba662b2d249eea58cebf575e392271efac3344c172c5f/watchgod-0.7-py3-none-any.whl
Collecting python-dotenv>=0.13; extra == "standard" (from uvicorn[standard]<0.14.0,>=0.13.3->BaiduPCS-Py->b2a)
Downloading https://files.pythonhosted.org/packages/0e/f1/0317f4b2c5284075a2154fe95539b43c0acecbcb86fe80fcb2645803edd9/python_dotenv-0.19.2-py2.py3-none-any.whl
Collecting commonmark<0.10.0,>=0.9.0 (from rich<10.0.0,>=9.8.0->BaiduPCS-Py->b2a)
Downloading https://files.pythonhosted.org/packages/b1/92/dfd892312d822f36c55366118b95d914e5f16de11044a27cf10a7d71bbbf/commonmark-0.9.1-py2.py3-none-any.whl (51kB)
100% |████████████████████████████████| 51kB 192kB/s
Collecting pygments<3.0.0,>=2.6.0 (from rich<10.0.0,>=9.8.0->BaiduPCS-Py->b2a)
Downloading https://files.pythonhosted.org/packages/78/c8/8d9be2f72d8f465461f22b5f199c04f7ada933add4dae6e2468133c17471/Pygments-2.10.0-py3-none-any.whl (1.0MB)
100% |████████████████████████████████| 1.0MB 504kB/s
Collecting dataclasses<0.9,>=0.7; python_version >= "3.6" and python_version < "3.7" (from rich<10.0.0,>=9.8.0->BaiduPCS-Py->b2a)
Downloading https://files.pythonhosted.org/packages/fe/ca/75fac5856ab5cfa51bbbcefa250182e50441074fdc3f803f6e76451fab43/dataclasses-0.8-py3-none-any.whl
Collecting pycparser (from cffi>=1.12->cryptography<4.0.0,>=3.3.1->BaiduPCS-Py->b2a)
Using cached https://files.pythonhosted.org/packages/62/d5/5f610ebe421e85889f2e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser-2.21-py2.py3-none-any.whl
Collecting httptools (from mugen->aget<0.2.0,>=0.1.17->BaiduPCS-Py->b2a)
Downloading https://files.pythonhosted.org/packages/11/51/eb5faa66ae206c738720b9c58ec6869e0c9b45630ddb7d60d35e2e166ce4/httptools-0.3.0-cp36-cp36m-win_amd64.whl (139kB)
100% |████████████████████████████████| 143kB 383kB/s
Building wheels for collected packages: BaiduPCS-Py, cryptography
Building wheel for BaiduPCS-Py (PEP 517) ... error
Complete output from command C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\python.exe c:\users\thinkpad\appdata\local\programs\python\python36\lib\site-packages\pip-19.0.3-py3.6.egg\pip_vendor\pep517_in_process.py build_wheel C:\Users\thinkpad\AppData\Local\Temp\tmpolo2ipm_:
A setup.py file already exists. Using it.
Compiling baidupcs_py/common/simple_cipher.pyx because it changed.
[1/1] Cythonizing baidupcs_py/common/simple_cipher.pyx
running build
running build_py
creating C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build
creating C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6
creating C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py
copying baidupcs_py\utils.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py
copying baidupcs_py_init_.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py
creating C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\app
copying baidupcs_py\app\account.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\app
copying baidupcs_py\app\app.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\app
copying baidupcs_py\app_init_.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\app
creating C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\baidupcs
copying baidupcs_py\baidupcs\api.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\baidupcs
copying baidupcs_py\baidupcs\errors.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\baidupcs
copying baidupcs_py\baidupcs\inner.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\baidupcs
copying baidupcs_py\baidupcs\pcs.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\baidupcs
copying baidupcs_py\baidupcs\phone.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\baidupcs
copying baidupcs_py\baidupcs_init_.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\baidupcs
creating C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\cat.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\cloud.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\display.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\download.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\env.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\errors.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\file_operators.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\list_files.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\log.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\play.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\search.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\server.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\share.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\sifter.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\sync.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\upload.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands\user.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\commands_init_.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
package init file 'baidupcs_py\common_init_.py' not found (or not a regular file)
creating C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\cache.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\concurrent.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\constant.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\crypto.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\downloader.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\event.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\io.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\keyboard.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\log.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\net.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\number.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\path.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\progress_bar.py -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\commands\index.html -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\commands
copying baidupcs_py\common\simple_cipher.c -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
copying baidupcs_py\common\simple_cipher.pyx -> C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build\lib.win-amd64-3.6\baidupcs_py\common
running build_ext
building 'baidupcs_py.common.simple_cipher' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
Traceback (most recent call last):
File "c:\users\thinkpad\appdata\local\programs\python\python36\lib\site-packages\pip-19.0.3-py3.6.egg\pip_vendor\pep517_in_process.py", line 207, in
main()
File "c:\users\thinkpad\appdata\local\programs\python\python36\lib\site-packages\pip-19.0.3-py3.6.egg\pip_vendor\pep517_in_process.py", line 197, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "c:\users\thinkpad\appdata\local\programs\python\python36\lib\site-packages\pip-19.0.3-py3.6.egg\pip_vendor\pep517_in_process.py", line 141, in build_wheel
metadata_directory)
File "C:\Users\thinkpad\AppData\Local\Temp\pip-build-env-cb2xxa16\overlay\Lib\site-packages\poetry\core\masonry\api.py", line 68, in build_wheel
return unicode(WheelBuilder.make_in(poetry, Path(wheel_directory)))
File "C:\Users\thinkpad\AppData\Local\Temp\pip-build-env-cb2xxa16\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 72, in make_in
wb.build()
File "C:\Users\thinkpad\AppData\Local\Temp\pip-build-env-cb2xxa16\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 103, in build
self._build(zip_file)
File "C:\Users\thinkpad\AppData\Local\Temp\pip-build-env-cb2xxa16\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 135, in _build
self._run_build_command(setup)
File "C:\Users\thinkpad\AppData\Local\Temp\pip-build-env-cb2xxa16\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 169, in _run_build_command
str(self._path / "build"),
File "C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:/Users/thinkpad/AppData/Local/Programs/Python/Python36/python.exe', 'C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\setup.py', 'build', '-b', 'C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\BaiduPCS-Py\build']' returned non-zero exit status 1.


Failed building wheel for BaiduPCS-Py
Running setup.py clean for BaiduPCS-Py
Building wheel for cryptography (PEP 517) ... error
Complete output from command C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\python.exe c:\users\thinkpad\appdata\local\programs\python\python36\lib\site-packages\pip-19.0.3-py3.6.egg\pip_vendor\pep517_in_process.py build_wheel C:\Users\thinkpad\AppData\Local\Temp\tmpebpx3bw2:
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.6
creating build\lib.win-amd64-3.6\cryptography
copying src\cryptography\exceptions.py -> build\lib.win-amd64-3.6\cryptography
copying src\cryptography\fernet.py -> build\lib.win-amd64-3.6\cryptography
copying src\cryptography\utils.py -> build\lib.win-amd64-3.6\cryptography
copying src\cryptography_about_.py -> build\lib.win-amd64-3.6\cryptography
copying src\cryptography_init_.py -> build\lib.win-amd64-3.6\cryptography
creating build\lib.win-amd64-3.6\cryptography\hazmat
copying src\cryptography\hazmat_der.py -> build\lib.win-amd64-3.6\cryptography\hazmat
copying src\cryptography\hazmat_oid.py -> build\lib.win-amd64-3.6\cryptography\hazmat
copying src\cryptography\hazmat_types.py -> build\lib.win-amd64-3.6\cryptography\hazmat
copying src\cryptography\hazmat_init_.py -> build\lib.win-amd64-3.6\cryptography\hazmat
creating build\lib.win-amd64-3.6\cryptography\x509
copying src\cryptography\x509\base.py -> build\lib.win-amd64-3.6\cryptography\x509
copying src\cryptography\x509\certificate_transparency.py -> build\lib.win-amd64-3.6\cryptography\x509
copying src\cryptography\x509\extensions.py -> build\lib.win-amd64-3.6\cryptography\x509
copying src\cryptography\x509\general_name.py -> build\lib.win-amd64-3.6\cryptography\x509
copying src\cryptography\x509\name.py -> build\lib.win-amd64-3.6\cryptography\x509
copying src\cryptography\x509\ocsp.py -> build\lib.win-amd64-3.6\cryptography\x509
copying src\cryptography\x509\oid.py -> build\lib.win-amd64-3.6\cryptography\x509
copying src\cryptography\x509_init_.py -> build\lib.win-amd64-3.6\cryptography\x509
creating build\lib.win-amd64-3.6\cryptography\hazmat\backends
copying src\cryptography\hazmat\backends\interfaces.py -> build\lib.win-amd64-3.6\cryptography\hazmat\backends
copying src\cryptography\hazmat\backends_init_.py -> build\lib.win-amd64-3.6\cryptography\hazmat\backends
creating build\lib.win-amd64-3.6\cryptography\hazmat\bindings
copying src\cryptography\hazmat\bindings_init_.py -> build\lib.win-amd64-3.6\cryptography\hazmat\bindings
creating build\lib.win-amd64-3.6\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\cmac.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\constant_time.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\hashes.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\hmac.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\keywrap.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\padding.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\poly1305.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives_asymmetric.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives_cipheralgorithm.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives_serialization.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives_init_.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives
creating build\lib.win-amd64-3.6\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\aead.py -> build\lib.win-amd64-3.6\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\backend.py -> build\lib.win-amd64-3.6\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\ciphers.py -> build\lib.win-amd64-3.6\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\cmac.py -> build\lib.win-amd64-3.6\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\decode_asn1.py -> build\lib.win-amd64-3.6\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\dh.py -> build\lib.win-amd64-3.6\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\dsa.py -> build\lib.win-amd64-3.6\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\ec.py -> build\lib.win-amd64-3.6\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\ed25519.py -> build\lib.win-amd64-3.6\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\ed448.py -> build\lib.win-amd64-3.6\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\encode_asn1.py -> build\lib.win-amd64-3.6\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\hashes.py -> build\lib.win-amd64-3.6\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\hmac.py -> build\lib.win-amd64-3.6\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\ocsp.py -> build\lib.win-amd64-3.6\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\poly1305.py -> build\lib.win-amd64-3.6\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\rsa.py -> build\lib.win-amd64-3.6\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\utils.py -> build\lib.win-amd64-3.6\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\x25519.py -> build\lib.win-amd64-3.6\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\x448.py -> build\lib.win-amd64-3.6\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\x509.py -> build\lib.win-amd64-3.6\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl_init_.py -> build\lib.win-amd64-3.6\cryptography\hazmat\backends\openssl
creating build\lib.win-amd64-3.6\cryptography\hazmat\bindings\openssl
copying src\cryptography\hazmat\bindings\openssl\binding.py -> build\lib.win-amd64-3.6\cryptography\hazmat\bindings\openssl
copying src\cryptography\hazmat\bindings\openssl_conditional.py -> build\lib.win-amd64-3.6\cryptography\hazmat\bindings\openssl
copying src\cryptography\hazmat\bindings\openssl_init_.py -> build\lib.win-amd64-3.6\cryptography\hazmat\bindings\openssl
creating build\lib.win-amd64-3.6\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\dh.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\dsa.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\ec.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\ed25519.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\ed448.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\padding.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\rsa.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\utils.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\x25519.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\x448.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric_init_.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\asymmetric
creating build\lib.win-amd64-3.6\cryptography\hazmat\primitives\ciphers
copying src\cryptography\hazmat\primitives\ciphers\aead.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\ciphers
copying src\cryptography\hazmat\primitives\ciphers\algorithms.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\ciphers
copying src\cryptography\hazmat\primitives\ciphers\base.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\ciphers
copying src\cryptography\hazmat\primitives\ciphers\modes.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\ciphers
copying src\cryptography\hazmat\primitives\ciphers_init_.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\ciphers
creating build\lib.win-amd64-3.6\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\concatkdf.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\hkdf.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\kbkdf.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\pbkdf2.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\scrypt.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\x963kdf.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf_init_.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\kdf
creating build\lib.win-amd64-3.6\cryptography\hazmat\primitives\serialization
copying src\cryptography\hazmat\primitives\serialization\base.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\serialization
copying src\cryptography\hazmat\primitives\serialization\pkcs12.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\serialization
copying src\cryptography\hazmat\primitives\serialization\pkcs7.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\serialization
copying src\cryptography\hazmat\primitives\serialization\ssh.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\serialization
copying src\cryptography\hazmat\primitives\serialization_init_.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\serialization
creating build\lib.win-amd64-3.6\cryptography\hazmat\primitives\twofactor
copying src\cryptography\hazmat\primitives\twofactor\hotp.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\twofactor
copying src\cryptography\hazmat\primitives\twofactor\totp.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\twofactor
copying src\cryptography\hazmat\primitives\twofactor\utils.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\twofactor
copying src\cryptography\hazmat\primitives\twofactor_init_.py -> build\lib.win-amd64-3.6\cryptography\hazmat\primitives\twofactor
running egg_info
writing src\cryptography.egg-info\PKG-INFO
writing dependency_links to src\cryptography.egg-info\dependency_links.txt
writing requirements to src\cryptography.egg-info\requires.txt
writing top-level names to src\cryptography.egg-info\top_level.txt
reading manifest file 'src\cryptography.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs_build'
warning: no previously-included files found matching 'vectors'
warning: no previously-included files matching '' found under directory 'vectors'
warning: no previously-included files matching '
' found under directory '.github'
warning: no previously-included files found matching 'release.py'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching 'codecov.yml'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'dev-requirements.txt'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files found matching 'mypy.ini'
warning: no previously-included files matching '' found under directory '.zuul.d'
warning: no previously-included files matching '
' found under directory '.zuul.playbooks'
adding license file 'LICENSE'
adding license file 'LICENSE.APACHE'
adding license file 'LICENSE.BSD'
adding license file 'LICENSE.PSF'
writing manifest file 'src\cryptography.egg-info\SOURCES.txt'
copying src\cryptography\py.typed -> build\lib.win-amd64-3.6\cryptography
running build_ext
running build_rust

  =============================DEBUG ASSISTANCE=============================
  If you are seeing a compilation error please try the following steps to
  successfully install cryptography:
  1) Upgrade to the latest pip and try again. This will fix errors for most
     users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
  2) Read https://cryptography.io/en/latest/installation.html for specific
     instructions for your platform.
  3) Check our frequently asked questions for more information:
     https://cryptography.io/en/latest/faq.html
  4) Ensure you have a recent Rust toolchain installed:
     https://cryptography.io/en/latest/installation.html#rust
  5) If you are experiencing issues with Rust for *this release only* you may
     set the environment variable `CRYPTOGRAPHY_DONT_BUILD_RUST=1`.
  =============================DEBUG ASSISTANCE=============================

error: can't find Rust compiler

If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.

To update pip, run:

  pip install --upgrade pip

and then retry package installation.

If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.

This package requires Rust >=1.41.0.


Failed building wheel for cryptography
Running setup.py clean for cryptography
Complete output from command C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\python.exe -u -c "import setuptools, tokenize;file='C:\Users\thinkpad\AppData\Local\Temp\pip-install-0jbel7rp\cryptography\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" clean --all:
running clean
removing 'build\lib.win-amd64-3.6' (and everything under it)
'build\bdist.win-amd64' does not exist -- can't clean it
'build\scripts-3.6' does not exist -- can't clean it
removing 'build'
running clean_rust

  =============================DEBUG ASSISTANCE=============================
  If you are seeing a compilation error please try the following steps to
  successfully install cryptography:
  1) Upgrade to the latest pip and try again. This will fix errors for most
     users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
  2) Read https://cryptography.io/en/latest/installation.html for specific
     instructions for your platform.
  3) Check our frequently asked questions for more information:
     https://cryptography.io/en/latest/faq.html
  4) Ensure you have a recent Rust toolchain installed:
     https://cryptography.io/en/latest/installation.html#rust
  5) If you are experiencing issues with Rust for *this release only* you may
     set the environment variable `CRYPTOGRAPHY_DONT_BUILD_RUST=1`.
  =============================DEBUG ASSISTANCE=============================

error: can't find Rust compiler

If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.

To update pip, run:

  pip install --upgrade pip

and then retry package installation.

If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.

This package requires Rust >=1.41.0.


Failed cleaning build dir for cryptography
Failed to build BaiduPCS-Py cryptography
Could not build wheels for BaiduPCS-Py, cryptography which use PEP 517 and cannot be installed directly

下载文件块失败

阿里云和百度云都显示登录成功,在迁移的时候一直报下载文件块失败
image

Err: 下载文件块失败:AutoDecryptRequest - Response is not ok: status_code: 403, body:

Info: [8] 迁移文件: /需要转移的/xxx全开源.zip
下载中: 0%| | 0.00/211M [00:00<?, ?it/s]Err: 下载文件块失败:AutoDecryptRequest - Response is not ok: status_code: 403, body: b'{"error_code":31362,"error_msg":"sign error","error_info":"","request_id":7613282200003704188}'
Err: 下载文件块失败:AutoDecryptRequest - Response is not ok: status_code: 403, body: b'{"error_code":31362,"error_msg":"sign error","error_info":"","request_id":7613282200003704188}'
Err: 下载文件块失败:AutoDecryptRequest - Response is not ok: status_code: 403, body: b'{"error_code":31362,"error_msg":"sign error","error_info":"","request_id":7613282200003704188}'
Err: 下载文件块失败:AutoDecryptRequest - Response is not ok: status_code: 403, body: b'{"error_code":31362,"error_msg":"sign error","error_info":"","request_id":7613282200003704188}'
Err: 下载文件块失败:AutoDecryptRequest - Response is not ok: status_code: 403, body: b'{"error_code":31362,"error_msg":"sign error","error_info":"","request_id":7613282200003704188}'
Err: 下载文件块失败:AutoDecryptRequest - Response is not ok: status_code: 403, body: b'{"error_code":31362,"error_msg":"sign error","error_info":"","request_id":7613282200003704188}'
下载中: 0%| | 0.00/211M [00:00<?, ?it/s]
Err: [错误] 下载失败!

感谢作者,刚刚部署使用上
部分失败,有的还是成功,请问是什么原因

Build failed

while installing with pip, it falled and the error is below:
ERROR: Could not build wheels for BaiduPCS-Py, which is required to install pyproject.toml-based projects

小白没看懂

不会用啊大神,mac下载了python和这个代码文件,小白就一脸懵逼,能不能出个详细教程万分感谢

FileNotFoundError: [WinError 2] 系统找不到指定的文件。

Info: [1] 迁移文件: /我的资源/ROM/Nova9Pro/RNA-AL00 103.0.0.163(C00E160R2P8)Product Combination Software_HarmonyOS 3.0.0_05017TBD.zip
Traceback (most recent call last):
File "b2a_init
.py", line 272, in
File "b2a_init_.py", line 262, in main
File "b2a_init_.py", line 92, in asyncPath
File "b2a\trans.py", line 99, in start
File "b2a\trans.py", line 88, in movePath
File "b2a\trans.py", line 85, in movePath
File "b2a\trans.py", line 61, in moveFile
File "b2a\bdyplat.py", line 146, in downloadFile
File "subprocess.py", line 505, in run
File "subprocess.py", line 951, in init
File "subprocess.py", line 1420, in _execute_child
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
[7248] Failed to execute script 'init' due to unhandled exception!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.