allenai / allenai/ai2thor

Running Ai2thor from Docker Container

Open
#931 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.8k
Forks
296
PR merge metrics
No merged PRs in 30d

Description

Hey,

I'm trying to run Ai2thor from custom docker container (NOT via Ai2thor-docker https://github.com/allenai/ai2thor-docker) . I installed Ai2thor using pip (inside docker container) and ran the following:

from ai2thor.controller import Controller
controller = Controller(scene="FloorPlan10")

File "", line 1, in
File "/root/.local/lib/python3.7/site-packages/ai2thor/controller.py", line 487, in __init__
self._build = self.find_build(local_build, commit_id, branch, platform)
File "/root/.local/lib/python3.7/site-packages/ai2thor/controller.py", line 1176, in find_build
% (commit_id, platform_system(), platforms_message)
ValueError: Invalid commit_id: 2f8dd9f95e4016db60155a0cc18b834a6339c8e1 - no build exists for arch=Linux platforms=Linux64

System config:
Ubuntu Version inside docker: 20.04 LTS
Host Ubuntu version: 18.04 LTS

I tried the same on the host machine and that works fine, the issue is while running from inside docker

Kindly let me know what's causing the error?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.