Skip to content

源码直接无法安装 #644

@toorich

Description

@toorich

在提交前,请确保您已经检查了以下内容!

  • 你的问题无关 VIP 内容。YKDL 不会主动支持 VIP 内容,相关问题一概不予受理。
  • 你确实可以在浏览器或移动端中正常播放,但不能使用 YKDL 下载。
  • 你的 YKDL 为最新发布版本,或开发版本。
  • 你已经阅读并按 https://github.com/SeaHOH/ykdl/wiki 中的指引进行了操作。
  • 你的问题没有在 https://github.com/SeaHOH/ykdl/issues 报告,否则请在原有 issue 下报告。
  • 本问题确实关于 YKDL 或其依赖,而不是其他项目。

请将错误输出粘贴在下面:

~ $ 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions