我正在尝试将 fastchunking 安装为另一个程序的依赖项,但在尝试安装时遇到以下字符串错误:
$> python.exe -m pip install fastchunking
Collecting fastchunking
Downloading fastchunking-0.0.3.tar.gz (24 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: pybindgen in c:\program files\python310\lib\site-packages (from fastchunking) (0.21.0)
Building wheels for collected packages: fastchunking
Building wheel for fastchunking (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [25 lines of output]
Generating file C:\Users\alexander.been.LC\AppData\Local\Temp\pip-install-gu2m0whc\fastchunking_45690b13b00046fcbf5b3e0d96787acf\build\rabinkarprh.cpp
running bdist_wheel
running build
running build_py
creating build\lib.win-amd64-cpython-310
creating build\lib.win-amd64-cpython-310\fastchunking
copying fastchunking\benchmark.py -> build\lib.win-amd64-cpython-310\fastchunking
copying fastchunking\test.py -> build\lib.win-amd64-cpython-310\fastchunking
copying fastchunking\__init__.py -> build\lib.win-amd64-cpython-310\fastchunking
creating build\lib.win-amd64-cpython-310\lib
copying lib\rabinkarpgen.py -> build\lib.win-amd64-cpython-310\lib
copying lib\rabinkarp_gen.py -> build\lib.win-amd64-cpython-310\lib
copying lib\__init__.py -> build\lib.win-amd64-cpython-310\lib
running build_ext
building 'fastchunking._rabinkarprh' extension
creating build\temp.win-amd64-cpython-310
creating build\temp.win-amd64-cpython-310\Release
creating build\temp.win-amd64-cpython-310\Release\Users
creating build\temp.win-amd64-cpython-310\Release\Users\alexander.been.LC
creating build\temp.win-amd64-cpython-310\Release\Users\alexander.been.LC\AppData
creating build\temp.win-amd64-cpython-310\Release\Users\alexander.been.LC\AppData\Local
creating build\temp.win-amd64-cpython-310\Release\Users\alexander.been.LC\AppData\Local\Temp
creating build\temp.win-amd64-cpython-310\Release\Users\alexander.been.LC\AppData\Local\Temp\pip-install-gu2m0whc
creating build\temp.win-amd64-cpython-310\Release\Users\alexander.been.LC\AppData\Local\Temp\pip-install-gu2m0whc\fastchunking_45690b13b00046fcbf5b3e0d96787acf
error: could not create 'build\temp.win-amd64-cpython-310\Release\Users\alexander.been.LC\AppData\Local\Temp\pip-install-gu2m0whc\fastchunking_45690b13b00046fcbf5b3e0d96787acf': The system cannot find the path specified
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for fastchunking
Running setup.py clean for fastchunking
Failed to build fastchunking
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (fastchunking)
我需要使用 python 3.10 安装它,因为父工具需要它。这可能是什么原因造成的?
我需要使用 python 3.10 安装它,因为父工具需要它。这可能是什么原因造成的?
fastchunking 0.0.3 不支持 Python 3.10。它早在 Python 3.10 之前就发布了。然而,它目前支持Python :: 3.5,这太旧了。
您可以考虑使用具有类似功能的维护包。