CMD按照视频教程输入后一直报错,解决不了
Microsoft Windows [版本 10.0.19045.4651]
(c) Microsoft Corporation。保留所有权利。
C:\Users\Administrator>git clone https://github.com/KwaiVGI/LivePortrait
Cloning into 'LivePortrait'...
remote: Enumerating objects: 664, done.
remote: Counting objects: 100% (414/414), done.
remote: Compressing objects: 100% (257/257), done.
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 6574 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
C:\Users\Administrator>cd LivePortrait
系统找不到指定的路径。
C:\Users\Administrator>
C:\Users\Administrator># create env using conda
'#' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
C:\Users\Administrator>conda create -n LivePortrait python=3.9
Collecting package metadata (current_repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 4.8.2
latest version: 24.7.1
Please update conda by running
$ conda update -n base -c defaults conda
Package Plan
environment location: E:\miniconda\envs\LivePortrait
added / updated specs:
- python=3.9
The following packages will be downloaded:
package | build
---------------------------|-----------------
ca-certificates-2024.7.2 | haa95532_0 128 KB
openssl-3.0.14 | h827c3e9_0 7.8 MB
pip-24.0 | py39haa95532_0 2.8 MB
python-3.9.19 | h1aa4202_1 19.6 MB
setuptools-69.5.1 | py39haa95532_0 1003 KB
sqlite-3.45.3 | h2bbff1b_0 973 KB
tzdata-2024a | h04d1e81_0 116 KB
vc-14.2 | h2eaa2aa_4 10 KB
vs2015_runtime-14.29.30133 | h43f2093_4 1.1 MB
wheel-0.43.0 | py39haa95532_0 137 KB
------------------------------------------------------------
Total: 33.6 MB
The following NEW packages will be INSTALLED:
ca-certificates pkgs/main/win-64::ca-certificates-2024.7.2-haa95532_0
openssl pkgs/main/win-64::openssl-3.0.14-h827c3e9_0
pip pkgs/main/win-64::pip-24.0-py39haa95532_0
python pkgs/main/win-64::python-3.9.19-h1aa4202_1
setuptools pkgs/main/win-64::setuptools-69.5.1-py39haa95532_0
sqlite pkgs/main/win-64::sqlite-3.45.3-h2bbff1b_0
tzdata pkgs/main/noarch::tzdata-2024a-h04d1e81_0
vc pkgs/main/win-64::vc-14.2-h2eaa2aa_4
vs2015_runtime pkgs/main/win-64::vs2015_runtime-14.29.30133-h43f2093_4
wheel pkgs/main/win-64::wheel-0.43.0-py39haa95532_0
Proceed ([y]/n)? conda activate LivePortrait
Invalid choice: conda activate liveportrait
Proceed ([y]/n)?
Downloading and Extracting Packages
vc-14.2 | 10 KB | ############################################################################ | 100%
vs2015_runtime-14.29 | 1.1 MB | ############################################################################ | 100%
openssl-3.0.14 | 7.8 MB | ############################################################################ | 100%
setuptools-69.5.1 | 1003 KB | ############################################################################ | 100%
python-3.9.19 | 19.6 MB | ############################################################################ | 100%
ca-certificates-2024 | 128 KB | ############################################################################ | 100%
pip-24.0 | 2.8 MB | ############################################################################ | 100%
tzdata-2024a | 116 KB | ############################################################################ | 100%
wheel-0.43.0 | 137 KB | ############################################################################ | 100%
sqlite-3.45.3 | 973 KB | ############################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
To activate this environment, use
#
$ conda activate LivePortrait
#
To deactivate an active environment, use
#
$ conda deactivate
C:\Users\Administrator># install dependencies with pip
'#' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
C:\Users\Administrator># for Linux and Windows users
'#' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
C:\Users\Administrator>pip install -r requirements.txt
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
C:\Users\Administrator># for macOS with Apple Silicon users
'#' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
C:\Users\Administrator>pip install -r requirements_macOS.txt
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements_macOS.txt'
C:\Users\Administrator>
C:\Users\Administrator>
C:\Users\Administrator>git clone https://github.com/KwaiVGI/LivePortrait
Cloning into 'LivePortrait'...
remote: Enumerating objects: 664, done.
remote: Counting objects: 100% (414/414), done.
remote: Compressing objects: 100% (257/257), done.
Receiving objects: 15% (104/664), 13.49 MiB | 87.00 KiB/s