Can't install python-mini

try to install python on persistent memory of dwr921 with commands,
opkg update
opkg install python-mini
but pass error: opkg_install_cmd: Cannot install package python-mini.
df -h returns:

Filesystem                Size      Used Available Use% Mounted on
/dev/root                 3.3M      3.3M         0 100% /rom
tmpfs                    28.7M    948.0K     27.7M   3% /tmp
/dev/mtdblock4           10.9M    864.0K     10.0M   8% /overlay
overlayfs:/overlay       10.9M    864.0K     10.0M   8% /
tmpfs                   512.0K         0    512.0K   0% /dev

maybe the lack of space on /dev/root cause the problem
any solution or practice ?

Isn't there something more than just this line?
Usually there's a reason given for the unability to install a package.

First of all, python-mini as a package doesn't exist - and python3 needs more space than 10 MB.

1 Like

/root is always 100% full, since it is a squashed ROM containing the files that are built into the firmware.

The persistent writeable space is /overlay. And as noted Python is big.

There should be a line before "cannot install" with information about the error (e.g. "unknown package" means that opkg update did not complete properly, or you have the name wrong).

thanks. then i will program in lua

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.