在安装依赖库的时候报错
Collecting bs4 (from -r requirements.txt (line 1)) Using cached bs4-0.0.1-py3-none-any.whl Collecting Path (from -r requirements.txt (line 2)) Obtaining dependency information for Path from https://files.pythonhosted.org/packages/91/a2/70f98e6de9854fe7e63561bf4380e0d42608cbfaa5f9d9e854f87b504414/path-16.7.1-py3-none-any.whl.metadata Using cached path-16.7.1-py3-none-any.whl.metadata (7.5 kB) Collecting asyncio (from -r requirements.txt (line 3)) Using cached asyncio-3.4.3-py3-none-any.whl (101 kB) Collecting argparse (from -r requirements.txt (line 4)) Using cached argparse-1.4.0-py2.py3-none-any.whl (23 kB) Collecting functools (from -r requirements.txt (line 5)) Using cached functools-0.5.tar.gz (4.9 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting beautifulsoup4 (from bs4->-r requirements.txt (line 1)) Using cached beautifulsoup4-4.12.2-py3-none-any.whl (142 kB) Collecting soupsieve>1.2 (from beautifulsoup4->bs4->-r requirements.txt (line 1)) Obtaining dependency information for soupsieve>1.2 from https://files.pythonhosted.org/packages/4c/f3/038b302fdfbe3be7da016777069f26ceefe11a681055ea1f7817546508e3/soupsieve-2.5-py3-none-any.whl.metadata Using cached soupsieve-2.5-py3-none-any.whl.metadata (4.7 kB) Using cached path-16.7.1-py3-none-any.whl (25 kB) Using cached soupsieve-2.5-py3-none-any.whl (36 kB) Building wheels for collected packages: functools Building wheel for functools (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for functools (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [1 lines of output] 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/ [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for functools Failed to build functools ERROR: Could not build wheels for functools, which is required to install pyproject.toml-based projects
ERROR: Could not build wheels for functools, which is required to install pyproject.toml-based projects