PaddlePaddle / PaddleHub

Awesome pre-trained models toolkit based on PaddlePaddle. (400+ models including Image, Text, Audio, Video and Cross-Modal with Easy Inference & Serving)【安全加固,暂停交互,请耐心等待】
https://www.paddlepaddle.org.cn/hub
Apache License 2.0
12.74k stars 2.07k forks source link

请各位大神帮忙看一下安装报错 #2323

Open lanlan1234 opened 7 months ago

lanlan1234 commented 7 months ago

使用环境:win11、python3.12.3、pip24 安装paddlehub报如下错误:

Collecting paddlehub Downloading paddlehub-2.4.0-py3-none-any.whl.metadata (1.7 kB) Collecting colorama (from paddlehub) Downloading colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB) Collecting colorlog (from paddlehub) Downloading colorlog-6.8.2-py3-none-any.whl.metadata (10 kB) Collecting easydict (from paddlehub) Downloading easydict-1.13-py3-none-any.whl.metadata (4.2 kB) Collecting filelock (from paddlehub) Downloading filelock-3.13.4-py3-none-any.whl.metadata (2.8 kB) Collecting flask>=1.1.0 (from paddlehub) Downloading flask-3.0.3-py3-none-any.whl.metadata (3.2 kB) Requirement already satisfied: numpy in d:\code of python\pythonproject.venv\lib\site-packages (from paddlehub) (1.26.4) Collecting matplotlib (from paddlehub) Downloading matplotlib-3.8.4-cp312-cp312-win_amd64.whl.metadata (5.9 kB) Requirement already satisfied: opencv-python in d:\code of python\pythonproject.venv\lib\site-packages (from paddlehub) (4.9.0.80) Requirement already satisfied: packaging in d:\code of python\pythonproject.venv\lib\site-packages (from paddlehub) (24.0) Collecting paddle2onnx>=0.5.1 (from paddlehub) Downloading paddle2onnx-0.9.2-py3-none-any.whl.metadata (770 bytes) Collecting paddlenlp>=2.0.0 (from paddlehub) Downloading paddlenlp-2.7.2-py3-none-any.whl.metadata (28 kB) Requirement already satisfied: Pillow in d:\code of python\pythonproject.venv\lib\site-packages (from paddlehub) (10.3.0) Collecting pyyaml (from paddlehub) Downloading PyYAML-6.0.1-cp312-cp312-win_amd64.whl.metadata (2.1 kB) Collecting pyzmq (from paddlehub) Downloading pyzmq-26.0.0-cp312-cp312-win_amd64.whl.metadata (6.2 kB) Collecting rarfile (from paddlehub) Downloading rarfile-4.2-py3-none-any.whl.metadata (4.4 kB) Collecting tqdm (from paddlehub) Downloading tqdm-4.66.2-py3-none-any.whl.metadata (57 kB) -------------------------------------- 57.6/57.6 kB 378.8 kB/s eta 0:00:00 Collecting visualdl>=2.0.0 (from paddlehub) Downloading visualdl-2.5.3-py3-none-any.whl.metadata (25 kB) Collecting gradio (from paddlehub) Downloading gradio-4.26.0-py3-none-any.whl.metadata (15 kB) Collecting Werkzeug>=3.0.0 (from flask>=1.1.0->paddlehub) Downloading werkzeug-3.0.2-py3-none-any.whl.metadata (4.1 kB) Collecting Jinja2>=3.1.2 (from flask>=1.1.0->paddlehub) Downloading Jinja2-3.1.3-py3-none-any.whl.metadata (3.3 kB) Collecting itsdangerous>=2.1.2 (from flask>=1.1.0->paddlehub) Downloading itsdangerous-2.1.2-py3-none-any.whl.metadata (2.9 kB) Collecting click>=8.1.3 (from flask>=1.1.0->paddlehub) Downloading click-8.1.7-py3-none-any.whl.metadata (3.0 kB) Collecting blinker>=1.6.2 (from flask>=1.1.0->paddlehub) Downloading blinker-1.7.0-py3-none-any.whl.metadata (1.9 kB) Collecting six (from paddle2onnx>=0.5.1->paddlehub) Downloading six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB) Requirement already satisfied: protobuf in d:\code of python\pythonproject.venv\lib\site-packages (from paddle2onnx>=0.5.1->paddlehub) (3.20.2) Collecting onnx<=1.9.0 (from paddle2onnx>=0.5.1->paddlehub) Downloading onnx-1.9.0.tar.gz (9.8 MB) ---------------------------------------- 9.8/9.8 MB 1.3 MB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Installing backend dependencies: started Installing backend dependencies: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting jieba (from paddlenlp>=2.0.0->paddlehub) Downloading jieba-0.42.1.tar.gz (19.2 MB) ---------------------------------------- 19.2/19.2 MB 1.3 MB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Installing backend dependencies: started Installing backend dependencies: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting seqeval (from paddlenlp>=2.0.0->paddlehub) Downloading seqeval-1.2.2.tar.gz (43 kB) -------------------------------------- 43.6/43.6 kB 709.9 kB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Installing backend dependencies: started Installing backend dependencies: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting dill<0.3.5 (from paddlenlp>=2.0.0->paddlehub) Downloading dill-0.3.4-py2.py3-none-any.whl.metadata (9.6 kB) Collecting multiprocess<=0.70.12.2 (from paddlenlp>=2.0.0->paddlehub) Downloading multiprocess-0.70.12.2-py39-none-any.whl.metadata (6.9 kB) Collecting datasets>=2.0.0 (from paddlenlp>=2.0.0->paddlehub) Downloading datasets-2.18.0-py3-none-any.whl.metadata (20 kB) Collecting paddlefsl (from paddlenlp>=2.0.0->paddlehub) Downloading paddlefsl-1.1.0-py3-none-any.whl.metadata (3.6 kB) Collecting sentencepiece (from paddlenlp>=2.0.0->paddlehub) Downloading sentencepiece-0.2.0-cp312-cp312-win_amd64.whl.metadata (8.3 kB) Collecting huggingface-hub>=0.11.1 (from paddlenlp>=2.0.0->paddlehub) Downloading huggingface_hub-0.22.2-py3-none-any.whl.metadata (12 kB) INFO: pip is looking at multiple versions of paddlenlp to determine which version is compatible with other requirements. This could take a while. Collecting paddlenlp>=2.0.0 (from paddlehub) Downloading paddlenlp-2.7.1-py3-none-any.whl.metadata (28 kB) Downloading paddlenlp-2.7.0-py3-none-any.whl.metadata (28 kB) Downloading paddlenlp-2.6.1-py3-none-any.whl.metadata (28 kB) Downloading paddlenlp-2.6.0-py3-none-any.whl.metadata (28 kB) Downloading paddlenlp-2.5.2-py3-none-any.whl.metadata (24 kB) Collecting Flask-Babel<3.0.0 (from paddlenlp>=2.0.0->paddlehub) Downloading Flask_Babel-2.0.0-py3-none-any.whl.metadata (2.1 kB) Collecting fastapi (from paddlenlp>=2.0.0->paddlehub) Downloading fastapi-0.110.1-py3-none-any.whl.metadata (24 kB) Collecting uvicorn (from paddlenlp>=2.0.0->paddlehub) Downloading uvicorn-0.29.0-py3-none-any.whl.metadata (6.3 kB) Collecting typer (from paddlenlp>=2.0.0->paddlehub) Downloading typer-0.12.3-py3-none-any.whl.metadata (15 kB) Collecting rich (from paddlenlp>=2.0.0->paddlehub) Downloading rich-13.7.1-py3-none-any.whl.metadata (18 kB) Collecting bce-python-sdk (from visualdl>=2.0.0->paddlehub) Downloading bce_python_sdk-0.9.6-py3-none-any.whl.metadata (318 bytes) INFO: pip is looking at multiple versions of visualdl to determine which version is compatible with other requirements. This could take a while. Collecting visualdl>=2.0.0 (from paddlehub) Downloading visualdl-2.5.2-py3-none-any.whl.metadata (25 kB) Downloading visualdl-2.5.1-py3-none-any.whl.metadata (25 kB) Downloading visualdl-2.5.0-py3-none-any.whl.metadata (25 kB) Downloading visualdl-2.4.2-py3-none-any.whl.metadata (21 kB) Collecting requests (from visualdl>=2.0.0->paddlehub) Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB) Collecting pandas (from visualdl>=2.0.0->paddlehub) Downloading pandas-2.2.2-cp312-cp312-win_amd64.whl.metadata (19 kB) Collecting aiofiles<24.0,>=22.0 (from gradio->paddlehub) Downloading aiofiles-23.2.1-py3-none-any.whl.metadata (9.7 kB) Collecting altair<6.0,>=4.2.0 (from gradio->paddlehub) Downloading altair-5.3.0-py3-none-any.whl.metadata (9.2 kB) Collecting ffmpy (from gradio->paddlehub) Downloading ffmpy-0.3.2.tar.gz (5.5 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Installing backend dependencies: started Installing backend dependencies: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting gradio-client==0.15.1 (from gradio->paddlehub) Downloading gradio_client-0.15.1-py3-none-any.whl.metadata (7.1 kB) Requirement already satisfied: httpx>=0.24.1 in d:\code of python\pythonproject.venv\lib\site-packages (from gradio->paddlehub) (0.27.0) Collecting importlib-resources<7.0,>=1.3 (from gradio->paddlehub) Downloading importlib_resources-6.4.0-py3-none-any.whl.metadata (3.9 kB) Collecting markupsafe~=2.0 (from gradio->paddlehub) Downloading MarkupSafe-2.1.5-cp312-cp312-win_amd64.whl.metadata (3.1 kB) Collecting orjson~=3.0 (from gradio->paddlehub) Downloading orjson-3.10.0-cp312-none-win_amd64.whl.metadata (50 kB) -------------------------------------- 50.7/50.7 kB 430.7 kB/s eta 0:00:00 Collecting pydantic>=2.0 (from gradio->paddlehub) Downloading pydantic-2.7.0-py3-none-any.whl.metadata (103 kB) ------------------------------------ 103.4/103.4 kB 854.4 kB/s eta 0:00:00 Collecting pydub (from gradio->paddlehub) Downloading pydub-0.25.1-py2.py3-none-any.whl.metadata (1.4 kB) Collecting python-multipart>=0.0.9 (from gradio->paddlehub) Downloading python_multipart-0.0.9-py3-none-any.whl.metadata (2.5 kB) Collecting ruff>=0.2.2 (from gradio->paddlehub) Downloading ruff-0.3.7-py3-none-win_amd64.whl.metadata (24 kB) Collecting semantic-version~=2.0 (from gradio->paddlehub) Downloading semantic_version-2.10.0-py2.py3-none-any.whl.metadata (9.7 kB) Collecting tomlkit==0.12.0 (from gradio->paddlehub) Downloading tomlkit-0.12.0-py3-none-any.whl.metadata (2.7 kB) Collecting typing-extensions~=4.0 (from gradio->paddlehub) Using cached typing_extensions-4.11.0-py3-none-any.whl.metadata (3.0 kB) Collecting fsspec (from gradio-client==0.15.1->gradio->paddlehub) Downloading fsspec-2024.3.1-py3-none-any.whl.metadata (6.8 kB) Collecting websockets<12.0,>=10.0 (from gradio-client==0.15.1->gradio->paddlehub) Downloading websockets-11.0.3-py3-none-any.whl.metadata (6.6 kB) Collecting contourpy>=1.0.1 (from matplotlib->paddlehub) Downloading contourpy-1.2.1-cp312-cp312-win_amd64.whl.metadata (5.8 kB) Collecting cycler>=0.10 (from matplotlib->paddlehub) Downloading cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB) Collecting fonttools>=4.22.0 (from matplotlib->paddlehub) Downloading fonttools-4.51.0-cp312-cp312-win_amd64.whl.metadata (162 kB) ------------------------------------ 162.8/162.8 kB 651.8 kB/s eta 0:00:00 Collecting kiwisolver>=1.3.1 (from matplotlib->paddlehub) Downloading kiwisolver-1.4.5-cp312-cp312-win_amd64.whl.metadata (6.5 kB) Collecting pyparsing>=2.3.1 (from matplotlib->paddlehub) Downloading pyparsing-3.1.2-py3-none-any.whl.metadata (5.1 kB) Collecting python-dateutil>=2.7 (from matplotlib->paddlehub) Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB) Collecting jsonschema>=3.0 (from altair<6.0,>=4.2.0->gradio->paddlehub) Downloading jsonschema-4.21.1-py3-none-any.whl.metadata (7.8 kB) Collecting toolz (from altair<6.0,>=4.2.0->gradio->paddlehub) Downloading toolz-0.12.1-py3-none-any.whl.metadata (5.1 kB) Collecting pyarrow>=12.0.0 (from datasets>=2.0.0->paddlenlp>=2.0.0->paddlehub) Downloading pyarrow-15.0.2-cp312-cp312-win_amd64.whl.metadata (3.1 kB) Collecting pyarrow-hotfix (from datasets>=2.0.0->paddlenlp>=2.0.0->paddlehub) Downloading pyarrow_hotfix-0.6-py3-none-any.whl.metadata (3.6 kB) Collecting xxhash (from datasets>=2.0.0->paddlenlp>=2.0.0->paddlehub) Downloading xxhash-3.4.1-cp312-cp312-win_amd64.whl.metadata (12 kB) Collecting fsspec (from gradio-client==0.15.1->gradio->paddlehub) Downloading fsspec-2024.2.0-py3-none-any.whl.metadata (6.8 kB) Collecting aiohttp (from datasets>=2.0.0->paddlenlp>=2.0.0->paddlehub) Downloading aiohttp-3.9.4-cp312-cp312-win_amd64.whl.metadata (7.7 kB) Collecting pytz (from Flask-Babel<3.0.0->paddlenlp>=2.0.0->paddlehub) Downloading pytz-2024.1-py2.py3-none-any.whl.metadata (22 kB) Collecting Babel>=2.3 (from Flask-Babel<3.0.0->paddlenlp>=2.0.0->paddlehub) Downloading Babel-2.14.0-py3-none-any.whl.metadata (1.6 kB) Requirement already satisfied: anyio in d:\code of python\pythonproject.venv\lib\site-packages (from httpx>=0.24.1->gradio->paddlehub) (4.3.0) Requirement already satisfied: certifi in d:\code of python\pythonproject.venv\lib\site-packages (from httpx>=0.24.1->gradio->paddlehub) (2024.2.2) Requirement already satisfied: httpcore==1. in d:\code of python\pythonproject.venv\lib\site-packages (from httpx>=0.24.1->gradio->paddlehub) (1.0.5) Requirement already satisfied: idna in d:\code of python\pythonproject.venv\lib\site-packages (from httpx>=0.24.1->gradio->paddlehub) (3.7) Requirement already satisfied: sniffio in d:\code of python\pythonproject.venv\lib\site-packages (from httpx>=0.24.1->gradio->paddlehub) (1.3.1) Requirement already satisfied: h11<0.15,>=0.13 in d:\code of python\pythonproject.venv\lib\site-packages (from httpcore==1.->httpx>=0.24.1->gradio->paddlehub) (0.14.0) Collecting tzdata>=2022.7 (from pandas->visualdl>=2.0.0->paddlehub) Downloading tzdata-2024.1-py2.py3-none-any.whl.metadata (1.4 kB) Collecting annotated-types>=0.4.0 (from pydantic>=2.0->gradio->paddlehub) Downloading annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.18.1 (from pydantic>=2.0->gradio->paddlehub) Downloading pydantic_core-2.18.1-cp312-none-win_amd64.whl.metadata (6.7 kB) Collecting charset-normalizer<4,>=2 (from requests->visualdl>=2.0.0->paddlehub) Downloading charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl.metadata (34 kB) Collecting urllib3<3,>=1.21.1 (from requests->visualdl>=2.0.0->paddlehub) Downloading urllib3-2.2.1-py3-none-any.whl.metadata (6.4 kB) Collecting shellingham>=1.3.0 (from typer->paddlenlp>=2.0.0->paddlehub) Downloading shellingham-1.5.4-py2.py3-none-any.whl.metadata (3.5 kB) Collecting markdown-it-py>=2.2.0 (from rich->paddlenlp>=2.0.0->paddlehub) Downloading markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB) Collecting pygments<3.0.0,>=2.13.0 (from rich->paddlenlp>=2.0.0->paddlehub) Downloading pygments-2.17.2-py3-none-any.whl.metadata (2.6 kB) Collecting pycryptodome>=3.8.0 (from bce-python-sdk->visualdl>=2.0.0->paddlehub) Downloading pycryptodome-3.20.0-cp35-abi3-win_amd64.whl.metadata (3.4 kB) Collecting future>=0.6.0 (from bce-python-sdk->visualdl>=2.0.0->paddlehub) Downloading future-1.0.0-py3-none-any.whl.metadata (4.0 kB) Collecting starlette<0.38.0,>=0.37.2 (from fastapi->paddlenlp>=2.0.0->paddlehub) Downloading starlette-0.37.2-py3-none-any.whl.metadata (5.9 kB) Collecting scikit-learn>=0.21.3 (from seqeval->paddlenlp>=2.0.0->paddlehub) Downloading scikit_learn-1.4.2-cp312-cp312-win_amd64.whl.metadata (11 kB) Collecting aiosignal>=1.1.2 (from aiohttp->datasets>=2.0.0->paddlenlp>=2.0.0->paddlehub) Downloading aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB) Collecting attrs>=17.3.0 (from aiohttp->datasets>=2.0.0->paddlenlp>=2.0.0->paddlehub) Downloading attrs-23.2.0-py3-none-any.whl.metadata (9.5 kB) Collecting frozenlist>=1.1.1 (from aiohttp->datasets>=2.0.0->paddlenlp>=2.0.0->paddlehub) Downloading frozenlist-1.4.1-cp312-cp312-win_amd64.whl.metadata (12 kB) Collecting multidict<7.0,>=4.5 (from aiohttp->datasets>=2.0.0->paddlenlp>=2.0.0->paddlehub) Downloading multidict-6.0.5-cp312-cp312-win_amd64.whl.metadata (4.3 kB) Collecting yarl<2.0,>=1.0 (from aiohttp->datasets>=2.0.0->paddlenlp>=2.0.0->paddlehub) Downloading yarl-1.9.4-cp312-cp312-win_amd64.whl.metadata (32 kB) Collecting jsonschema-specifications>=2023.03.6 (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio->paddlehub) Downloading jsonschema_specifications-2023.12.1-py3-none-any.whl.metadata (3.0 kB) Collecting referencing>=0.28.4 (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio->paddlehub) Downloading referencing-0.34.0-py3-none-any.whl.metadata (2.8 kB) Collecting rpds-py>=0.7.1 (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio->paddlehub) Downloading rpds_py-0.18.0-cp312-none-win_amd64.whl.metadata (4.2 kB) Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich->paddlenlp>=2.0.0->paddlehub) Downloading mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB) Collecting scipy>=1.6.0 (from scikit-learn>=0.21.3->seqeval->paddlenlp>=2.0.0->paddlehub) Downloading scipy-1.13.0-cp312-cp312-win_amd64.whl.metadata (60 kB) -------------------------------------- 60.6/60.6 kB 215.1 kB/s eta 0:00:00 Collecting joblib>=1.2.0 (from scikit-learn>=0.21.3->seqeval->paddlenlp>=2.0.0->paddlehub) Downloading joblib-1.4.0-py3-none-any.whl.metadata (5.4 kB) Collecting threadpoolctl>=2.0.0 (from scikit-learn>=0.21.3->seqeval->paddlenlp>=2.0.0->paddlehub) Downloading threadpoolctl-3.4.0-py3-none-any.whl.metadata (13 kB) Downloading paddlehub-2.4.0-py3-none-any.whl (213 kB) -------------------------------------- 213.9/213.9 kB 482.5 kB/s eta 0:00:00 Downloading flask-3.0.3-py3-none-any.whl (101 kB) -------------------------------------- 101.7/101.7 kB 732.0 kB/s eta 0:00:00 Downloading paddle2onnx-0.9.2-py3-none-any.whl (100 kB) -------------------------------------- 100.9/100.9 kB 305.2 kB/s eta 0:00:00 Downloading paddlenlp-2.5.2-py3-none-any.whl (2.3 MB) ---------------------------------------- 2.3/2.3 MB 655.7 kB/s eta 0:00:00 Downloading visualdl-2.4.2-py3-none-any.whl (4.9 MB) ---------------------------------------- 4.9/4.9 MB 2.7 MB/s eta 0:00:00 Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB) Downloading colorlog-6.8.2-py3-none-any.whl (11 kB) Downloading easydict-1.13-py3-none-any.whl (6.8 kB) Downloading filelock-3.13.4-py3-none-any.whl (11 kB) Downloading gradio-4.26.0-py3-none-any.whl (17.1 MB) ---------------------------------------- 17.1/17.1 MB 9.8 MB/s eta 0:00:00 Downloading gradio_client-0.15.1-py3-none-any.whl (313 kB) ---------------------------------------- 313.6/313.6 kB 1.3 MB/s eta 0:00:00 Downloading tomlkit-0.12.0-py3-none-any.whl (37 kB) Downloading matplotlib-3.8.4-cp312-cp312-win_amd64.whl (7.7 MB) ---------------------------------------- 7.7/7.7 MB 3.8 MB/s eta 0:00:00 Downloading PyYAML-6.0.1-cp312-cp312-win_amd64.whl (138 kB) ---------------------------------------- 138.7/138.7 kB 4.1 MB/s eta 0:00:00 Downloading pyzmq-26.0.0-cp312-cp312-win_amd64.whl (770 kB) ---------------------------------------- 770.4/770.4 kB 3.0 MB/s eta 0:00:00 Downloading rarfile-4.2-py3-none-any.whl (29 kB) Downloading tqdm-4.66.2-py3-none-any.whl (78 kB) ---------------------------------------- 78.3/78.3 kB 1.1 MB/s eta 0:00:00 Downloading aiofiles-23.2.1-py3-none-any.whl (15 kB) Downloading altair-5.3.0-py3-none-any.whl (857 kB) ---------------------------------------- 857.8/857.8 kB 2.1 MB/s eta 0:00:00 Downloading blinker-1.7.0-py3-none-any.whl (13 kB) Downloading click-8.1.7-py3-none-any.whl (97 kB) ---------------------------------------- 97.9/97.9 kB 233.9 kB/s eta 0:00:00 Downloading contourpy-1.2.1-cp312-cp312-win_amd64.whl (189 kB) -------------------------------------- 189.9/189.9 kB 575.8 kB/s eta 0:00:00 Downloading cycler-0.12.1-py3-none-any.whl (8.3 kB) Downloading datasets-2.18.0-py3-none-any.whl (510 kB) -------------------------------------- 510.5/510.5 kB 444.7 kB/s eta 0:00:00 Downloading dill-0.3.4-py2.py3-none-any.whl (86 kB) ---------------------------------------- 86.9/86.9 kB 306.7 kB/s eta 0:00:00 Downloading Flask_Babel-2.0.0-py3-none-any.whl (9.3 kB) Downloading fonttools-4.51.0-cp312-cp312-win_amd64.whl (2.2 MB) ---------------------------------------- 2.2/2.2 MB 111.5 kB/s eta 0:00:00 Downloading huggingface_hub-0.22.2-py3-none-any.whl (388 kB) --------------------------------------- 388.9/388.9 kB 41.1 kB/s eta 0:00:00 Downloading importlib_resources-6.4.0-py3-none-any.whl (38 kB) Downloading itsdangerous-2.1.2-py3-none-any.whl (15 kB) Downloading Jinja2-3.1.3-py3-none-any.whl (133 kB) --------------------------------------- 133.2/133.2 kB 56.7 kB/s eta 0:00:00 Downloading kiwisolver-1.4.5-cp312-cp312-win_amd64.whl (56 kB) ---------------------------------------- 56.0/56.0 kB 63.6 kB/s eta 0:00:00 Downloading MarkupSafe-2.1.5-cp312-cp312-win_amd64.whl (17 kB) Downloading multiprocess-0.70.12.2-py39-none-any.whl (128 kB) --------------------------------------- 128.7/128.7 kB 57.9 kB/s eta 0:00:00 Downloading orjson-3.10.0-cp312-none-win_amd64.whl (139 kB) --------------------------------------- 139.4/139.4 kB 64.0 kB/s eta 0:00:00 Downloading pandas-2.2.2-cp312-cp312-win_amd64.whl (11.5 MB) ---------------------------------------- 11.5/11.5 MB 81.9 kB/s eta 0:00:00 Downloading pydantic-2.7.0-py3-none-any.whl (407 kB) -------------------------------------- 407.9/407.9 kB 438.5 kB/s eta 0:00:00 Downloading pydantic_core-2.18.1-cp312-none-win_amd64.whl (1.9 MB) ---------------------------------------- 1.9/1.9 MB 424.9 kB/s eta 0:00:00 Downloading pyparsing-3.1.2-py3-none-any.whl (103 kB) ---------------------------------------- 103.2/103.2 kB 1.5 MB/s eta 0:00:00 Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB) -------------------------------------- 229.9/229.9 kB 878.6 kB/s eta 0:00:00 Downloading python_multipart-0.0.9-py3-none-any.whl (22 kB) Downloading requests-2.31.0-py3-none-any.whl (62 kB) ---------------------------------------- 62.6/62.6 kB 1.7 MB/s eta 0:00:00 Downloading ruff-0.3.7-py3-none-win_amd64.whl (8.7 MB) ---------------------------------------- 8.7/8.7 MB 1.0 MB/s eta 0:00:00 Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Downloading typer-0.12.3-py3-none-any.whl (47 kB) ---------------------------------------- 47.2/47.2 kB 1.2 MB/s eta 0:00:00 Downloading rich-13.7.1-py3-none-any.whl (240 kB) -------------------------------------- 240.7/240.7 kB 866.3 kB/s eta 0:00:00 Using cached typing_extensions-4.11.0-py3-none-any.whl (34 kB) Downloading uvicorn-0.29.0-py3-none-any.whl (60 kB) ---------------------------------------- 60.8/60.8 kB 802.7 kB/s eta 0:00:00 Downloading werkzeug-3.0.2-py3-none-any.whl (226 kB) ---------------------------------------- 226.8/226.8 kB 1.4 MB/s eta 0:00:00 Downloading bce_python_sdk-0.9.6-py3-none-any.whl (330 kB) -------------------------------------- 331.0/331.0 kB 789.9 kB/s eta 0:00:00 Downloading fastapi-0.110.1-py3-none-any.whl (91 kB) ---------------------------------------- 91.9/91.9 kB 749.0 kB/s eta 0:00:00 Downloading paddlefsl-1.1.0-py3-none-any.whl (101 kB) ---------------------------------------- 101.0/101.0 kB 1.4 MB/s eta 0:00:00 Downloading pydub-0.25.1-py2.py3-none-any.whl (32 kB) Downloading sentencepiece-0.2.0-cp312-cp312-win_amd64.whl (991 kB) ---------------------------------------- 992.0/992.0 kB 1.0 MB/s eta 0:00:00 Downloading annotated_types-0.6.0-py3-none-any.whl (12 kB) Downloading Babel-2.14.0-py3-none-any.whl (11.0 MB) ---------------------------------------- 11.0/11.0 MB 1.0 MB/s eta 0:00:00 Downloading charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl (100 kB) -------------------------------------- 100.4/100.4 kB 385.3 kB/s eta 0:00:00 Downloading fsspec-2024.2.0-py3-none-any.whl (170 kB) -------------------------------------- 170.9/170.9 kB 934.4 kB/s eta 0:00:00 Downloading aiohttp-3.9.4-cp312-cp312-win_amd64.whl (368 kB) -------------------------------------- 368.8/368.8 kB 818.7 kB/s eta 0:00:00 Downloading future-1.0.0-py3-none-any.whl (491 kB) ---------------------------------------- 491.3/491.3 kB 1.6 MB/s eta 0:00:00 Downloading jsonschema-4.21.1-py3-none-any.whl (85 kB) ---------------------------------------- 85.5/85.5 kB 482.6 kB/s eta 0:00:00 Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB) ---------------------------------------- 87.5/87.5 kB 224.7 kB/s eta 0:00:00 Downloading pyarrow-15.0.2-cp312-cp312-win_amd64.whl (25.3 MB) ---------------------------------------- 25.3/25.3 MB 1.3 MB/s eta 0:00:00 Downloading pycryptodome-3.20.0-cp35-abi3-win_amd64.whl (1.8 MB) ---------------------------------------- 1.8/1.8 MB 290.8 kB/s eta 0:00:00 Downloading pygments-2.17.2-py3-none-any.whl (1.2 MB) ---------------------------------------- 1.2/1.2 MB 692.8 kB/s eta 0:00:00 Downloading pytz-2024.1-py2.py3-none-any.whl (505 kB) -------------------------------------- 505.5/505.5 kB 487.4 kB/s eta 0:00:00 Downloading scikit_learn-1.4.2-cp312-cp312-win_amd64.whl (10.6 MB) ---------------------------------------- 10.6/10.6 MB 618.3 kB/s eta 0:00:00 Downloading shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB) Downloading starlette-0.37.2-py3-none-any.whl (71 kB) ---------------------------------------- 71.9/71.9 kB 978.9 kB/s eta 0:00:00 Downloading tzdata-2024.1-py2.py3-none-any.whl (345 kB) -------------------------------------- 345.4/345.4 kB 933.5 kB/s eta 0:00:00 Downloading urllib3-2.2.1-py3-none-any.whl (121 kB) -------------------------------------- 121.1/121.1 kB 394.4 kB/s eta 0:00:00 Downloading websockets-11.0.3-py3-none-any.whl (118 kB) -------------------------------------- 118.1/118.1 kB 528.5 kB/s eta 0:00:00 Downloading pyarrow_hotfix-0.6-py3-none-any.whl (7.9 kB) Downloading toolz-0.12.1-py3-none-any.whl (56 kB) ---------------------------------------- 56.1/56.1 kB 976.2 kB/s eta 0:00:00 Downloading xxhash-3.4.1-cp312-cp312-win_amd64.whl (29 kB) Downloading aiosignal-1.3.1-py3-none-any.whl (7.6 kB) Downloading attrs-23.2.0-py3-none-any.whl (60 kB) ---------------------------------------- 60.8/60.8 kB 814.7 kB/s eta 0:00:00 Downloading frozenlist-1.4.1-cp312-cp312-win_amd64.whl (50 kB) ---------------------------------------- 50.5/50.5 kB 638.3 kB/s eta 0:00:00 Downloading joblib-1.4.0-py3-none-any.whl (301 kB) ---------------------------------------- 301.2/301.2 kB 1.3 MB/s eta 0:00:00 Downloading jsonschema_specifications-2023.12.1-py3-none-any.whl (18 kB) Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB) Downloading multidict-6.0.5-cp312-cp312-win_amd64.whl (27 kB) Downloading referencing-0.34.0-py3-none-any.whl (26 kB) Downloading rpds_py-0.18.0-cp312-none-win_amd64.whl (206 kB) -------------------------------------- 206.3/206.3 kB 291.8 kB/s eta 0:00:00 Downloading scipy-1.13.0-cp312-cp312-win_amd64.whl (45.9 MB) ---------------------------------------- 45.9/45.9 MB 1.3 MB/s eta 0:00:00 Downloading threadpoolctl-3.4.0-py3-none-any.whl (17 kB) Downloading yarl-1.9.4-cp312-cp312-win_amd64.whl (76 kB) ---------------------------------------- 76.4/76.4 kB 1.1 MB/s eta 0:00:00 Building wheels for collected packages: onnx, ffmpy, jieba, seqeval Building wheel for onnx (pyproject.toml): started Building wheel for onnx (pyproject.toml): finished with status 'error' Building wheel for ffmpy (pyproject.toml): started Building wheel for ffmpy (pyproject.toml): finished with status 'done' Created wheel for ffmpy: filename=ffmpy-0.3.2-py3-none-any.whl size=5607 sha256=59e03f96891223685eda952d2b3fcee43dca262428d142fc4f5833c42a4eb806 Stored in directory: c:\users\15487\appdata\local\pip\cache\wheels\8a\63\a8\fad16a1c5c990569a478f40782ce543788ddac224288008635 Building wheel for jieba (pyproject.toml): started Building wheel for jieba (pyproject.toml): finished with status 'done' Created wheel for jieba: filename=jieba-0.42.1-py3-none-any.whl size=19314474 sha256=888a3c273d7d1e174d342173f12205183ac8b54fde2e58e29e78201c1fe759c3 Stored in directory: c:\users\15487\appdata\local\pip\cache\wheels\08\a1\a3\5c8ac52cc2f5782ffffc34c95c57c8e5ecb3063dc69541ee7c Building wheel for seqeval (pyproject.toml): started Building wheel for seqeval (pyproject.toml): finished with status 'done' Created wheel for seqeval: filename=seqeval-1.2.2-py3-none-any.whl size=16186 sha256=54af15fabceff5a4b3df08f2e7941b785dca9fbc0a333b76183932ee98019669 Stored in directory: c:\users\15487\appdata\local\pip\cache\wheels\5f\b8\73\0b2c1a76b701a677653dd79ece07cfabd7457989dbfbdcd8d7 Successfully built ffmpy jieba seqeval Failed to build onnx

WARNING: typer 0.12.3 does not provide the extra 'all' error: subprocess-exited-with-error

Building wheel for onnx (pyproject.toml) did not run successfully. exit code: 1

[106 lines of output] fatal: not a git repository (or any of the parent directories): .git C:\Users\15487\AppData\Local\Temp\pip-build-env-uhcowxny\overlay\Lib\site-packages\setuptools\dist.py:476: SetuptoolsDeprecationWarning: Invalid dash-separated options !!

      ********************************************************************************
      Usage of dash-separated 'license-file' will not be supported in future
      versions. Please use the underscore name 'license_file' instead.

      By 2024-Sep-26, you need to update your project and remove deprecated calls
      or your builds will no longer be supported.

      See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
      ********************************************************************************

!! opt = self.warn_dash_deprecation(opt, section) running bdist_wheel running build running build_py running create_version running cmake_build Using cmake args: ['D:\Python\Scripts\cmake.exe', '-DPYTHON_INCLUDE_DIR=D:\Python\include', '-DPYTHON_EXECUTABLE=D:\Code Of Python\pythonProject\.venv\Scripts\python.exe', '-DBUILD_ONNX_PYTHON=ON', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-DONNX_NAMESPACE=onnx', '-DPY_EXT_SUFFIX=.cp312-win_amd64.pyd', '-DCMAKE_BUILD_TYPE=Release', '-DPY_VERSION=3.12', '-DONNX_USE_MSVC_STATIC_RUNTIME=ON', '-A', 'x64', '-T', 'host=x64', '-DONNX_ML=1', 'C:\Users\15487\AppData\Local\Temp\pip-install-nlcx8vlp\onnx_23ac968013fd49669ec3c84e87c89b70'] -- Building for: NMake Makefiles CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

CMake Error at CMakeLists.txt:17 (project): Generator

  NMake Makefiles

does not support platform specification, but platform

  x64

was specified.

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! Traceback (most recent call last): File "D:\Code Of Python\pythonProject.venv\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in main() File "D:\Code Of Python\pythonProject.venv\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 "D:\Code Of Python\pythonProject.venv\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\15487\AppData\Local\Temp\pip-build-env-uhcowxny\overlay\Lib\site-packages\setuptools\build_meta.py", line 410, in build_wheel return self._build_with_temp_dir( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\15487\AppData\Local\Temp\pip-build-env-uhcowxny\overlay\Lib\site-packages\setuptools\build_meta.py", line 395, in _build_with_temp_dir self.run_setup() File "C:\Users\15487\AppData\Local\Temp\pip-build-env-uhcowxny\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup super().run_setup(setup_script=setup_script) File "C:\Users\15487\AppData\Local\Temp\pip-build-env-uhcowxny\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup exec(code, locals()) File "", line 337, in File "C:\Users\15487\AppData\Local\Temp\pip-build-env-uhcowxny\overlay\Lib\site-packages\setuptools__init__.py", line 104, in setup return distutils.core.setup(attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\15487\AppData\Local\Temp\pip-build-env-uhcowxny\overlay\Lib\site-packages\setuptools_distutils\core.py", line 184, in setup return run_commands(dist) ^^^^^^^^^^^^^^^^^^ File "C:\Users\15487\AppData\Local\Temp\pip-build-env-uhcowxny\overlay\Lib\site-packages\setuptools_distutils\core.py", line 200, in run_commands dist.run_commands() File "C:\Users\15487\AppData\Local\Temp\pip-build-env-uhcowxny\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 969, in run_commands self.run_command(cmd) File "C:\Users\15487\AppData\Local\Temp\pip-build-env-uhcowxny\overlay\Lib\site-packages\setuptools\dist.py", line 967, in run_command super().run_command(command) File "C:\Users\15487\AppData\Local\Temp\pip-build-env-uhcowxny\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "C:\Users\15487\AppData\Local\Temp\pip-build-env-uhcowxny\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 368, in run self.run_command("build") File "C:\Users\15487\AppData\Local\Temp\pip-build-env-uhcowxny\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 316, in run_command self.distribution.run_command(command) File "C:\Users\15487\AppData\Local\Temp\pip-build-env-uhcowxny\overlay\Lib\site-packages\setuptools\dist.py", line 967, in run_command super().run_command(command) File "C:\Users\15487\AppData\Local\Temp\pip-build-env-uhcowxny\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "C:\Users\15487\AppData\Local\Temp\pip-build-env-uhcowxny\overlay\Lib\site-packages\setuptools_distutils\command\build.py", line 132, in run self.run_command(cmd_name) File "C:\Users\15487\AppData\Local\Temp\pip-build-env-uhcowxny\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 316, in run_command self.distribution.run_command(command) File "C:\Users\15487\AppData\Local\Temp\pip-build-env-uhcowxny\overlay\Lib\site-packages\setuptools\dist.py", line 967, in run_command super().run_command(command) File "C:\Users\15487\AppData\Local\Temp\pip-build-env-uhcowxny\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "", line 233, in run File "C:\Users\15487\AppData\Local\Temp\pip-build-env-uhcowxny\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 316, in run_command self.distribution.run_command(command) File "C:\Users\15487\AppData\Local\Temp\pip-build-env-uhcowxny\overlay\Lib\site-packages\setuptools\dist.py", line 967, in run_command super().run_command(command) File "C:\Users\15487\AppData\Local\Temp\pip-build-env-uhcowxny\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "", line 219, in run File "D:\Python\Lib\subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['D:\Python\Scripts\cmake.exe', '-DPYTHON_INCLUDE_DIR=D:\Python\include', '-DPYTHON_EXECUTABLE=D:\Code Of Python\pythonProject\.venv\Scripts\python.exe', '-DBUILD_ONNX_PYTHON=ON', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-DONNX_NAMESPACE=onnx', '-DPY_EXT_SUFFIX=.cp312-win_amd64.pyd', '-DCMAKE_BUILD_TYPE=Release', '-DPY_VERSION=3.12', '-DONNX_USE_MSVC_STATIC_RUNTIME=ON', '-A', 'x64', '-T', 'host=x64', '-DONNX_ML=1', 'C:\Users\15487\AppData\Local\Temp\pip-install-nlcx8vlp\onnx_23ac968013fd49669ec3c84e87c89b70']' 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 onnx ERROR: Could not build wheels for onnx, which is required to install pyproject.toml-based projects

w5688414 commented 7 months ago

我尝试搜了一下,可能是python版本太高的原因,可以看看python3.8是否有问题。

https://github.com/onnx/onnx/issues/5679 https://github.com/onnx/onnx/issues/4376