Skip to content

10장 env.render() 함수의 결과를 mp4 동영상으로 보여주기 위한 코드 #21

Description

@sjleergb

구글코랩(GPU) 환경, 코드중에서 예제10.4 아래

env.render() 함수의 결과를 mp4 동영상으로 보여주기 위한 코드 실행시

FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/easyprocess/init.py in start(self)
168 self.popen = subprocess.Popen(
--> 169 cmd, stdout=stdout, stderr=stderr, cwd=self.cwd, env=self.env,
170 )

8 frames
FileNotFoundError: [Errno 2] No such file or directory: 'Xvfb': 'Xvfb'

During handling of the above exception, another exception occurred:

EasyProcessError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/easyprocess/init.py in start(self)
172 log.debug("OSError exception: %s", oserror)
173 self.oserror = oserror
--> 174 raise EasyProcessError(self, "start error")
175 self.is_started = True
176 log.debug("process was started (pid=%s)", self.pid)

EasyProcessError: start error <EasyProcess cmd_param=['Xvfb', '-help'] cmd=['Xvfb', '-help'] oserror=[Errno 2] No such file or directory: 'Xvfb': 'Xvfb' return_code=None stdout="None" stderr="None" timeout_happened=False>

이렇게 나옵니디. 며칠전에는 분명히 실행이 됐었는데 무슨 문제인지 모르겠습니다.

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