-
Notifications
You must be signed in to change notification settings - Fork 138
Open
Description
environment:
linux x86_64
OS version: ubuntu22.04
python version: v3.11.2
same error occured on a arm64 machine
OS version debian12 armbian
python version: v3.11.2
pip install -i https://mirrors.aliyun.com/pypi/simple Cython
Looking in indexes: https://mirrors.aliyun.com/pypi/simple
Collecting Cython
Downloading https://mirrors.aliyun.com/pypi/packages/38/3c/7c61e9ce25377ec7c4aa0b7ceeed34559ebca7b5cfd384672ba64eeaa4ba/cython-3.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 610.2 kB/s eta 0:00:00
Installing collected packages: Cython
Successfully installed Cython-3.1.2
(venv) zodiac@HP400G3DM:~/work/git/BaiduPCS-Py$ pip install -i https://mirrors.aliyun.com/pypi/simple BaiduPCS-Py
Looking in indexes: https://mirrors.aliyun.com/pypi/simple
Collecting BaiduPCS-Py
Downloading https://mirrors.aliyun.com/pypi/packages/04/35/95e5e02601c63bdf133c405e0d57bdb2b991558b74c526fb10742797d481/baidupcs_py-0.7.4.tar.gz (113 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 113.1/113.1 kB 642.8 kB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting aget<0.2.0,>=0.1.17
Downloading https://mirrors.aliyun.com/pypi/packages/29/60/29231941a30de20a9473026304f4bb470c71207a2724a64f95bc4f39f27d/aget-0.1.17.tar.gz (7.7 kB)
Preparing metadata (setup.py) ... done
Collecting chardet<6.0.0,>=5.0.0
Downloading https://mirrors.aliyun.com/pypi/packages/38/6f/f5fbc992a329ee4e0f288c1fe0e2ad9485ed064cac731ed2fe47dcc38cbf/chardet-5.2.0-py3-none-any.whl (199 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.4/199.4 kB 620.1 kB/s eta 0:00:00
Collecting click<9.0.0,>=8.1.3
Downloading https://mirrors.aliyun.com/pypi/packages/85/32/10bb5764d90a8eee674e9dc6f4db6a0ab47c8c4d0d83c27f7c39ac415a4d/click-8.2.1-py3-none-any.whl (102 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 102.2/102.2 kB 636.2 kB/s eta 0:00:00
Collecting cryptography<39.0.0,>=38.0.3
Downloading https://mirrors.aliyun.com/pypi/packages/26/f8/a81170a816679fca9ccd907b801992acfc03c33f952440421c921af2cc57/cryptography-38.0.4-cp36-abi3-manylinux_2_28_x86_64.whl (4.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.2/4.2 MB 591.6 kB/s eta 0:00:00
Collecting cython<0.30.0,>=0.29.32
Downloading https://mirrors.aliyun.com/pypi/packages/22/99/2b01e0164ff1ea592e3515e473517674780f0f3d49f48af30324b85ac94d/Cython-0.29.37-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (1.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 489.2 kB/s eta 0:00:00
Collecting fastapi<0.88.0,>=0.87.0
Downloading https://mirrors.aliyun.com/pypi/packages/8c/f5/68a7a099ae3674e85e2de11d3859ebffd7fe32a8cda0d11bd4d43f32437b/fastapi-0.87.0-py3-none-any.whl (55 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.5/55.5 kB 682.6 kB/s eta 0:00:00
Collecting jinja2<4.0.0,>=3.1.2
Downloading https://mirrors.aliyun.com/pypi/packages/62/a1/3d680cbfd5f4b8f15abc1d571870c5fc3e594bb582bc3b64ea099db13e56/jinja2-3.1.6-py3-none-any.whl (134 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 134.9/134.9 kB 616.9 kB/s eta 0:00:00
Collecting passlib<2.0.0,>=1.7.4
Downloading https://mirrors.aliyun.com/pypi/packages/3b/a4/ab6b7589382ca3df236e03faa71deac88cae040af60c071a78d254a62172/passlib-1.7.4-py2.py3-none-any.whl (525 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 525.6/525.6 kB 586.7 kB/s eta 0:00:00
Collecting pillow<10.0.0,>=9.3.0
Downloading https://mirrors.aliyun.com/pypi/packages/3d/59/e6bd2c3715ace343d9739276ceed79657fe116923238d102cf731ab463dd/Pillow-9.5.0-cp311-cp311-manylinux_2_28_x86_64.whl (3.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 602.9 kB/s eta 0:00:00
Collecting requests<3.0.0,>=2.28.1
Downloading https://mirrors.aliyun.com/pypi/packages/7c/e4/56027c4a6b4ae70ca9de302488c5ca95ad4a39e190093d6c1a8ace08341b/requests-2.32.4-py3-none-any.whl (64 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.8/64.8 kB 701.4 kB/s eta 0:00:00
Collecting requests-toolbelt<0.11.0,>=0.10.1
Downloading https://mirrors.aliyun.com/pypi/packages/05/d3/bf87a36bff1cb88fd30a509fd366c70ec30676517ee791b2f77e0e29817a/requests_toolbelt-0.10.1-py2.py3-none-any.whl (54 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.5/54.5 kB 680.9 kB/s eta 0:00:00
Collecting rich<13.0.0,>=12.6.0
Downloading https://mirrors.aliyun.com/pypi/packages/32/60/81ac2e7d1e3b861ab478a72e3b20fc91c4302acd2274822e493758941829/rich-12.6.0-py3-none-any.whl (237 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 237.5/237.5 kB 609.0 kB/s eta 0:00:00
Collecting typing-extensions<5.0.0,>=4.4.0
Downloading https://mirrors.aliyun.com/pypi/packages/b5/00/d631e67a838026495268c2f6884f3711a15a9a2a96cd244fdaea53b823fb/typing_extensions-4.14.1-py3-none-any.whl (43 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.9/43.9 kB 515.9 kB/s eta 0:00:00
Collecting uvicorn<0.20.0,>=0.19.0
Downloading https://mirrors.aliyun.com/pypi/packages/2b/3f/e3a8b7d42f058e0d50e76b8d41cc18a5d1f989feb17c882e1c61e7403f52/uvicorn-0.19.0-py3-none-any.whl (56 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.6/56.6 kB 721.1 kB/s eta 0:00:00
Collecting mugen
Downloading https://mirrors.aliyun.com/pypi/packages/ca/2b/406f2e6975531a01db4ae5d5b13257142050b6c503d9b1f1bce3f204dad5/mugen-0.6.1.tar.gz (14 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting cffi>=1.12
Downloading https://mirrors.aliyun.com/pypi/packages/ff/6b/d45873c5e0242196f042d555526f92aa9e0c32355a1be1ff8c27f077fd37/cffi-1.17.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (467 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 467.2/467.2 kB 615.6 kB/s eta 0:00:00
Collecting pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2
Downloading https://mirrors.aliyun.com/pypi/packages/a4/f0/424ad837746e69e9f061ba9be68c2a97aef7376d1911692904d8efbcd322/pydantic-1.10.22-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 584.7 kB/s eta 0:00:00
Collecting starlette==0.21.0
Downloading https://mirrors.aliyun.com/pypi/packages/94/a3/777d1749aa0db3f9da12a8cc5f89fe01c95548909d012f0e419299c6d8a3/starlette-0.21.0-py3-none-any.whl (64 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.0/64.0 kB 699.5 kB/s eta 0:00:00
Collecting anyio<5,>=3.4.0
Downloading https://mirrors.aliyun.com/pypi/packages/a1/ee/48ca1a7c89ffec8b6a0c5d02b89c305671d5ffd8d3c94acf8b8c408575bb/anyio-4.9.0-py3-none-any.whl (100 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.9/100.9 kB 659.9 kB/s eta 0:00:00
Collecting MarkupSafe>=2.0
Downloading https://mirrors.aliyun.com/pypi/packages/f1/a4/aefb044a2cd8d7334c8a47d3fb2c9f328ac48cb349468cc31c20b539305f/MarkupSafe-3.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (23 kB)
Collecting charset_normalizer<4,>=2
Downloading https://mirrors.aliyun.com/pypi/packages/92/9b/ad67f03d74554bed3aefd56fe836e1623a50780f7c998d00ca128924a499/charset_normalizer-3.4.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (147 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 147.3/147.3 kB 686.8 kB/s eta 0:00:00
Collecting idna<4,>=2.5
Downloading https://mirrors.aliyun.com/pypi/packages/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl (70 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.4/70.4 kB 665.2 kB/s eta 0:00:00
Collecting urllib3<3,>=1.21.1
Downloading https://mirrors.aliyun.com/pypi/packages/a7/c2/fe1e52489ae3122415c51f387e221dd0773709bad6c6cdaa599e8a2c5185/urllib3-2.5.0-py3-none-any.whl (129 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 129.8/129.8 kB 728.3 kB/s eta 0:00:00
Collecting certifi>=2017.4.17
Downloading https://mirrors.aliyun.com/pypi/packages/4f/52/34c6cf5bb9285074dc3531c437b3919e825d976fde097a7a73f79e726d03/certifi-2025.7.14-py3-none-any.whl (162 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 162.7/162.7 kB 644.8 kB/s eta 0:00:00
Collecting commonmark<0.10.0,>=0.9.0
Downloading https://mirrors.aliyun.com/pypi/packages/b1/92/dfd892312d822f36c55366118b95d914e5f16de11044a27cf10a7d71bbbf/commonmark-0.9.1-py2.py3-none-any.whl (51 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.1/51.1 kB 689.7 kB/s eta 0:00:00
Collecting pygments<3.0.0,>=2.6.0
Downloading https://mirrors.aliyun.com/pypi/packages/c7/21/705964c7812476f378728bdf590ca4b771ec72385c533964653c68e86bdc/pygments-2.19.2-py3-none-any.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 617.3 kB/s eta 0:00:00
Collecting h11>=0.8
Downloading https://mirrors.aliyun.com/pypi/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl (37 kB)
Collecting pycparser
Downloading https://mirrors.aliyun.com/pypi/packages/13/a3/a812df4e2dd5696d1f351d58b8fe16a405b234ad2886a0dab9183fb78109/pycparser-2.22-py3-none-any.whl (117 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.6/117.6 kB 703.0 kB/s eta 0:00:00
Collecting httptools<0.7.0,>=0.6.1
Downloading https://mirrors.aliyun.com/pypi/packages/b1/2f/205d1f2a190b72da6ffb5f41a3736c26d6fa7871101212b15e9b5cd8f61d/httptools-0.6.4-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (459 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 459.8/459.8 kB 632.0 kB/s eta 0:00:00
Collecting sniffio>=1.1
Downloading https://mirrors.aliyun.com/pypi/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl (10 kB)
Building wheels for collected packages: BaiduPCS-Py, mugen
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
╰─> [31 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 "/home/zodiac/work/git/BaiduPCS-Py/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/home/zodiac/work/git/BaiduPCS-Py/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/zodiac/work/git/BaiduPCS-Py/venv/lib/python3.11/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 "/tmp/pip-build-env-ds8owrxa/overlay/lib/python3.11/site-packages/poetry/core/masonry/api.py", line 58, in build_wheel
return WheelBuilder.make_in(
^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-ds8owrxa/overlay/lib/python3.11/site-packages/poetry/core/masonry/builders/wheel.py", line 95, in make_in
wb.build(target_dir=directory)
File "/tmp/pip-build-env-ds8owrxa/overlay/lib/python3.11/site-packages/poetry/core/masonry/builders/wheel.py", line 134, in build
self._build(zip_file)
File "/tmp/pip-build-env-ds8owrxa/overlay/lib/python3.11/site-packages/poetry/core/masonry/builders/wheel.py", line 183, in _build
self._run_build_script(self._package.build_script)
File "/tmp/pip-build-env-ds8owrxa/overlay/lib/python3.11/site-packages/poetry/core/masonry/builders/wheel.py", line 304, in _run_build_script
subprocess.check_call([self.executable.as_posix(), build_script])
File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/zodiac/work/git/BaiduPCS-Py/venv/bin/python3', '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
Building wheel for mugen (pyproject.toml) ... done
Created wheel for mugen: filename=mugen-0.6.1-py3-none-any.whl size=17652 sha256=48e3cfffca7e35096479bf8a3f3766395347cdfecdaefa9f83e2e2f2eb5429a5
Stored in directory: /home/zodiac/.cache/pip/wheels/18/25/72/cf94700efd148eb8425a2125a2202e5fbe19543757f57f666d
Successfully built mugen
Failed to build BaiduPCS-Py
ERROR: Could not build wheels for BaiduPCS-Py, which is required to install pyproject.toml-based projects
Metadata
Metadata
Assignees
Labels
No labels