Open sjleergb opened 4 years ago
구글코랩(GPU) 환경, 코드중에서 예제10.4 아래
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>
이렇게 나옵니디. 며칠전에는 분명히 실행이 됐었는데 무슨 문제인지 모르겠습니다.
해당 문제가 재현되고, @leeyua 님 말씀대로 restart runtime 후 정상 실행되는 것까지 확인했습니다. 원인을 찾은 후 다시 말씀드리겠습니다.
구글코랩(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>
이렇게 나옵니디. 며칠전에는 분명히 실행이 됐었는데 무슨 문제인지 모르겠습니다.