microsoft / microsoft/TextWorld
Installation errors on linux aarch64
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 1.4k
- Forks
- 207
- Avg merge
- 8d 22h
- Merged PRs (30d)
- 1
Description
Hi there, when trying to install textworld on linux aarch64 with pip install textworld, I get this error during the installation of inform7.
[...]
Running setup.sh...
++ uname -s
+ unameOut=Linux
+ case "${unameOut}" in
+ machine=Linux
+ cd textworld/thirdparty/
+ '[' '!' -e I7_6M62_Linux_all.tar.gz ']'
+ echo 'Downloading Inform7 CLI'
Downloading Inform7 CLI
+ curl -LO http://emshort.com/inform-app-archive/6M62/I7_6M62_Linux_all.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
13 22.1M 13 2991k 0 0 3222k 0 0:00:07 --:--:-- 0:00:07 3220k
100 22.1M 100 22.1M 0 0 15.6M 0 0:00:01 0:00:01 --:--:-- 15.6M
+ '[' Linux == Mac ']'
+ '[' '!' -d inform7-6M62 ']'
+ tar xf I7_6M62_Linux_all.tar.gz
+ echo 'Installing Inform7 CLI'
Installing Inform7 CLI
+ cd inform7-6M62/
+ tar xzf inform7-common_6M62_all.tar.gz
+ '[' Linux '!=' Mac ']'
++ uname -m
+ ARCH=aarch64
+ tar xzf inform7-compilers_6M62_aarch64.tar.gz
tar (child): inform7-compilers_6M62_aarch64.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
[...]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for textworld
Building wheel for jericho (setup.py) ... done
Created wheel for jericho: filename=jericho-3.3.0-py3-none-any.whl size=323988 sha256=67b0f001e48aeaa6dc299b4265d62d9e74f2a14447a678d70427203cd4b7bc33
Stored in directory: /tmp/pip-ephem-wheel-cache-miw_a459/wheels/be/45/8b/50c2d9429695074a38f4170d11793578a11a5e12417534933d
Failed to build textworld
ERROR: Could not build wheels for textworld, which is required to install pyproject.toml-based projects
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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The failure is in the Inform7 installation invoked by setup.sh under textworld/thirdparty; begin by reproducing pip install textworld on Linux aarch64 and inspect which compiler archive setup.sh expects. Done means installation completes on that architecture, or the issue records a verified workaround if Inform7 cannot provide an aarch64 package.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, python
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100