You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
=============================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
The text was updated successfully, but these errors were encountered:
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
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:
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
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:
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
The text was updated successfully, but these errors were encountered: