安装依赖组件
在torch和cuda安装结束之后,就可以安装VideoReTalking程序的依赖组件了,命令如下:
pip install -r requirements.txt
需要安装的组件比较多,因此这一步也需要等待一定的时间,具体取决于你的网络情况!
如果在安装的过程中遇到如下的报错:
ERROR: Ignored the following versions that require a different python version: 1.11.0 Requires-Python <3.13,>=3.9; 1.11.0rc1 Requires-Python <3.13,>=3.9; 1.11.0rc2 Requires-Python <3.13,>=3.9; 1.11.1 Requires-Python <3.13,>=3.9; 1.11.2 Requires-Python <3.13,>=3.9; 1.25.0 Requires-Python >=3.9; 1.25.0rc1 Requires-Python >=3.9; 1.25.1 Requires-Python >=3.9; 1.25.2 Requires-Python >=3.9; 1.26.0b1 Requires-Python <3.13,>=3.9; 1.26.0rc1 Requires-Python <3.13,>=3.9 ERROR: Could not find a version that satisfies the requirement tb-nightly (from basicsr) (from versions: none) ERROR: No matching distribution found for tb-nightly
则运行下面的这条命令单独安装tb-nightly:
pip install -i https://mirrors.aliyun.com/pypi/simple/ tb-nightly
安装完成之后,重新运行下面的安装命令即可!
pip install -r requirements.txt
原创文章,作者:朋远方,如若转载,请注明出处:https://caovan.com/videoretalkingduizuixingaigongjuwindowsbendebushujiaocheng/.html