Open SHLEM666 opened 8 months ago
I think there might have been a bug in conda and libmamba's solver in the previous version.
Try the latest version of miniforge's installer (it updates the default package).
Apparently the next version should be even better in terms of memory limitations.
PS. not many of us use Termux so that is why we are all hesitant to reply
Thank you, I didn’t expect a quick response)).
Miniforge3 v24.1.2-0 test showed that the error still occurs.
@SHLEM666 were you able to resolve this error? I am still seeing it in 24.7.1
@hmaarrfk I would like to help solve this issue by testing. What logs do I need to collect and how do I enable those logs?
the best thing to do would be to help create some kind of docker image that recreates the issue so we all be on the same page.
without that, we are going to be very slow at iterating.
@SHLEM666 were you able to resolve this error? I am still seeing it in 24.7.1
No, I faild to solve this problem.
the best thing to do would be to help create some kind of docker image that recreates the issue so we all be on the same page.
without that, we are going to be very slow at
iterating.
According to your idea, I tried to use termux-docker aarch64 image.
docker pull termux/termux-docker:aarch64
docker run -it termux/termux-docker:aarch64
# default mirror is not works for me
echo "deb https://packages.termux.dev/apt/termux-main stable main" > $PREFIX/etc/apt/sources.list
yes | apt update
yes | apt upgrade
yes | pkg install proot-distro
proot-distro install debian
This attempt fails at proot-distro install step with the following error:
Error: the rootfs of distribution 'daebian' has unexpected structure (no /etc directory). Make sure that variable TARBALL_STRIP_OPT specified in distribution plug-in is correct.
I've found topic with similar problem. But in my case, the reason is not in the wrong PATH value.
According to the result of the next two commands, the error reason may be related to bad linking. (There is only 636 - 658 lines of log.txt under the first spoiler)
bash -x proot-distro install debian |& tee log.txt
proot --link2symlink tar --version
That's all for now. Research continues.
[!NOTE] I use Win10 + Docker Desktop 4.34.2 (167172).
Solution to issue cannot be found in the documentation.
Issue
When I try to install SageMath package on Android device with
conda
ormamba
the following error occursMoreover, at several installation attempts, this error occurs with different packages. E.g. ipython, sagelib, python, giac, nbconvert, pythran, sphinx, notebook, rpy2 and many-many others.
Additionally, I tried splitting the SageMath package installation into parts, but result was the same. The error always has the same form:
No such file or directory: '/root/miniforge3/pkgs/package_name-version-build/some/path/__init__.py
Commands to reproduce
Detailed information
The full installation output is too large to post here output.txt
Environment info
active environment : base active env location : /root/miniforge3 shell level : 1 user config file : /root/.condarc populated config files : /root/miniforge3/.condarc conda version : 23.11.0 conda-build version : not installed python version : 3.10.13.final.0 solver : libmamba (default) virtual packages : __archspec=1=aarch64 __conda=23.11.0=0 __glibc=2.36=0 __linux=6.2.1=0 __unix=0=0 base environment : /root/miniforge3 (writable) conda av data dir : /root/miniforge3/etc/conda conda av metadata url : None channel URLs : https://conda.anaconda.org/conda-forge/linux-aarch64 https://conda.anaconda.org/conda-forge/noarch package cache : /root/miniforge3/pkgs /root/.conda/pkgs envs directories : /root/miniforge3/envs /root/.conda/envs platform : linux-aarch64 user-agent : conda/23.11.0 requests/2.31.0 CPython/3.10.13 Linux/6.2.1-PRoot-Distro debian/12.5 glibc/2.36 solver/libmamba conda-libmamba-solver/23.12.0 libmambapy/1.5.5 UID:GID : 0:0 netrc file : None offline mode : FalseHardware
Software