Open DavidePaglieri opened 2 weeks ago
Thanks for reporting this. Until now, I only seen MacOS users having this issue (see https://github.com/microsoft/TextWorld/issues/310 and https://github.com/alfworld/alfworld/issues/44). The easiest solution for them was to use conda with CONDA_SUBDIR=osx-64 conda create -n textworld python=3.9
. I don't know if there's an equivalent for Linux, though.
TextWorld is using an old version of Inform7 (circa 2018 and maybe older). That said, the Inform project has moved on and is now open-source (https://github.com/ganelson/inform). In theory, it could be compiled for aarch64. I have no ideas if there are breaking changes with more Inform7 v10.2 and if that can work with TextWorld. I unfortunately don't have the bandwidth to look into this at the moment. If you are willing to try, I'd gladly accept PRs :).
That said, Inform7 is used to generate new games. Nowadays, I don't think people actually when to make new games with TextWorld, so maybe we could make Inform7 optional. But again, I can't work on this at the moment. PRs are welcome.
Thank you for the quick reply, would a PR that simply removed the installation of inform7 on linux aarch64 by default work for you? If so I'm happy to open that.
We can start with that with proper warning messages being raised when trying to generate games, maybe. This will require changing some of the unit tests too.
Hi there, when trying to install textworld on linux aarch64 with
pip install textworld
, I get this error during the installation of inform7.This is because there are no inform7 wheels for aarch64 on the link provided. Looking around, I could not yet find a version of inform7 for aarch64. This might be because inform7 is extremely outdated.
Given that linux machines with ARM64 processors are becoming more and more popular, is there any plan to support it, or is there any known workaround?