#3726 error: Failed to spawn: sp.py Caused by: No such file or directory (os error 2)

2001:448a* Posted at: 1 hour ago 👁8

error: Failed to spawn: sp.py
Caused by: No such file or directory (os error 2)

1 Replies

这是由于在命令行中执行 uv run sp.py 时,系统在当前目录下找不到 sp.py 文件。

解决方案:

  1. 确认当前目录:确保你的命令行终端当前所在的目录就是 pyVideoTrans 源码的根目录。该目录下应包含 sp.pycli.pypyproject.toml 等文件。
  2. 切换到正确目录:使用 cd 命令切换到 pyVideoTrans 源码目录。例如,如果你将源码解压到了 D:\pyVideoTrans,则执行:

    cd D:\pyVideoTrans
  3. 再次运行:在正确的目录下重新执行启动命令:

    uv run sp.py

注意: 此错误通常发生在 macOS/Linux 源码部署时。如果你是 Windows 用户,应直接双击 sp.exe 运行,而不是使用命令行。

请查阅相关文档:

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Related resource