~ $ pip install https://github.com/LifeActor/ykdl/archive/refs/heads/master.zip
Collecting https://github.com/LifeActor/ykdl/archive/refs/heads/master.zip
Downloading https://github.com/LifeActor/ykdl/archive/refs/heads/master.zip
- 265.2 kB 829.6 kB/s 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [16 lines of output]
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-vr7kxv1c/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
File "/data/data/com.termux/files/usr/tmp/pip-build-env-vr7kxv1c/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
File "/data/data/com.termux/files/usr/tmp/pip-build-env-vr7kxv1c/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
File "<string>", line 35, in <module>
File "<string>", line 9, in read_file
FileNotFoundError: [Errno 2] No such file or directory: '/data/data/com.termux/files/usr/tmp/pip-req-build-dmzemqbk/README.rst'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'https://github.com/LifeActor/ykdl/archive/refs/heads/master.zip' when getting requirements to build wheel
在提交前,请确保您已经检查了以下内容!
请将错误输出粘贴在下面:
如果你有其他附言,例如问题只在某个视频发生,或者是一般性讨论或者提出新功能,请在下面添加:
用
pip构建时直接报错,查了一下源码似乎是setup.py写死了README.rst但是README被重命名成了.md