@
zed1018 非常感谢!
这个问题解决了,但是出现另一个错,这个应该就是程序错误了
```
$ sudo cog build -t style-your-hair-model
[sudo] password for fang:
Building Docker image from environment in cog.yaml as style-your-hair-model...
[+] Building 192.4s (11/25)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 3.24kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> resolve image config for
docker.io/docker/dockerfile:1.2 3.3s
=> CACHED docker-image://
docker.io/docker/dockerfile:1.2@sha256:e2a8561e419ab1ba6b2fe6cbdf49fd92b95912df1cf7d313c3e2230a333fdbcc 0.0s
=> [internal] load metadata for
docker.io/nvidia/cuda:10.2-cudnn8-devel-ubuntu18.04 1.8s
=> [stage-0 1/19] FROM
docker.io/nvidia/cuda:10.2-cudnn8-devel-ubuntu18.04@sha256:54eff7aa01217a1fb039cf5dbfa925a4bce2073b1742074c84dd83cf7af4ab11 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 49.26kB 0.0s
=> CACHED [stage-0 2/19] RUN rm -f /etc/apt/sources.list.d/cuda.list && rm -f /etc/apt/sources.list.d/nvidia-ml.list && apt-key del 7fa2af80 0.0s
=> CACHED [stage-0 3/19] RUN --mount=type=cache,target=/var/cache/apt set -eux; apt-get update -qq; apt-get install -qqy --no-install-recommends curl; rm -rf /var/ 0.0s
=> CACHED [stage-0 4/19] RUN --mount=type=cache,target=/var/cache/apt apt-get update -qq && apt-get install -qqy --no-install-recommends make build-essential li 0.0s
=> ERROR [stage-0 5/19] RUN curl -s -S -L
https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash && git clone https://github. 187.1s
------
> [stage-0 5/19] RUN curl -s -S -L
https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash && git clone
https://github.com/momo-lab/pyenv-install-latest.git "$(pyenv root)"/plugins/pyenv-install-latest && pyenv install-latest "3.8" && pyenv global $(pyenv install-latest --print "3.8") && pip install "wheel<1":
#10 184.7 curl: (56) Unexpected EOF
#10 184.7 /bin/sh: 1: pyenv: not found
#10 184.7 Cloning into '/plugins/pyenv-install-latest'...
#10 187.1 /bin/sh: 1: pyenv: not found
------
executor failed running [/bin/sh -c curl -s -S -L
https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash && git clone
https://github.com/momo-lab/pyenv-install-latest.git "$(pyenv root)"/plugins/pyenv-install-latest && pyenv install-latest "3.8" && pyenv global $(pyenv install-latest --print "3.8") && pip install "wheel<1"]: exit code: 127
ⅹ Failed to build Docker image: exit status 1
```