You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The console showed me that the ai2thor binaries and assets were downloaded:
thor-OSXIntel64-a634e28ea55b149ce5f746f19f45dd6f43e5878b.zip: [|||||||||||||||||||||||| 100% 1.2 MiB/s] of 534.MB
However, when I created the Controller instance, the Unity window that is opened is blank and completely unresponsive (frozen, with the cursor being the beachball of death):
I thought it was curious that the downloaded zip said OSXIntel64, considering I'm using an ARM64, but switching to X86_64 emulation mode did not fix the issue. Downgrading ai2thor from 5.0.0 to 4.3.0 did not fix the issue either.
The really weird thing to me is that I can run the ai2thor application directly (not from Python):
Okay, it turns out that I had not set up the x86 version of Python on my machine correctly. When an ARM64 Python calls executables, they run in ARM64 mode, and ai2thor is only available in x86_64.
Now that I have Python set up correctly, the scene renders. The Unity window is unresponsive and the cursor is always the beachball of death, but I can still control it from Python.
So there are two issues here, which ideally would be fixed but a note in the documentation about known issues/constraints would also be helpful:
ai2thor is only distributed in x86_64, so it must be used from an x86_64 Python. Setting up two Pythons for different architectures is actually a fairly big ask for most users, and it would be much better to have a build for ARM64 available. Otherwise, noting that this architecture is not supported would at least be a heads-up for the next person.
The Unity window that opens is unresponsive. This makes it a bit difficult to work on Mac because the OS wants to hide it behind other windows, and the top menus don't work. To be clear, it's responsive to Python code, just not to the user's cursor.
I installed ai2thor with
pip3 install ai2thor
. Then I ran the example from https://ai2thor.allenai.org/ithor/documentation/initialization:The console showed me that the ai2thor binaries and assets were downloaded:
However, when I created the
Controller
instance, the Unity window that is opened is blank and completely unresponsive (frozen, with the cursor being the beachball of death):I thought it was curious that the downloaded zip said
OSXIntel64
, considering I'm using an ARM64, but switching to X86_64 emulation mode did not fix the issue. Downgrading ai2thor from 5.0.0 to 4.3.0 did not fix the issue either.The really weird thing to me is that I can run the ai2thor application directly (not from Python):
The above command opens a responsive AI2Thor window:
The text was updated successfully, but these errors were encountered: